rvalue references

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 9 07:49:40 PDT 2015


On Tue, 09 Jun 2015 07:04:36 -0400, Stewart Gordon <smjg_1998 at yahoo.com>  
wrote:
> To me, it sounds like people want this feature for D purely because C++  
> has it.
>
> Stewart.

That's actually not a bad reason ;)

Suppose we wanted to write bindings for some C++ code which made use of  
const-ref parameters:
http://help.autodesk.com/view/FBX/2015/ENU/?guid=__cpp_ref_class_fbx_a_matrix_html


   Bit


More information about the Digitalmars-d mailing list