Rvalue reference for all kind of literals is not so difficult. It seems to be required only front-end changes for it.
Kenji Hara 2012年4月12日10:56 Andrei Alexandrescu <[email protected]>: > Great. Kenji, do you think you can implement the semantics along the > lines described in my previous emails? > > Thanks, > > Andrei > > On 4/11/12 8:39 PM, kenji hara wrote: >> I think this is too straightforward change. >> I believe that druntime and phobos are broken silently with this. >> >> I'm trying to implement rvalue struct literal that can receives with ref. >> It does not seem so difficult. >> Please wait the release a moment. >> >> Kenji Hara >> >> 2012年4月12日7:09 GitHub<[email protected]>: >>> Branch: refs/heads/master >>> Home: https://github.com/D-Programming-Language/dmd >>> Commit: 2958fba6fe67459e049d2f838483bdb881ad186a >>> >>> https://github.com/D-Programming-Language/dmd/commit/2958fba6fe67459e049d2f838483bdb881ad186a >>> Author: Walter Bright<[email protected]> >>> Date: 2012-04-11 (Wed, 11 Apr 2012) >>> >>> Changed paths: >>> M src/expression.c >>> M src/expression.h >>> M test/runnable/structlit.d >>> >>> Log Message: >>> ----------- >>> struct literals are lvalues again >>> >>> >>> >>> >>> _______________________________________________ >>> dmd-internals mailing list >>> [email protected] >>> http://lists.puremagic.com/mailman/listinfo/dmd-internals >> _______________________________________________ >> dmd-internals mailing list >> [email protected] >> http://lists.puremagic.com/mailman/listinfo/dmd-internals > _______________________________________________ > dmd-internals mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/dmd-internals _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
