Fix generated code for rvalue references by converting functions returning an rvalue reference into something that can be taken the address of - via a const ref cast. Now the rvalue_reference tests compile under g++-4.7 (C# only atm)

This commit is contained in:
William S Fulton 2013-01-24 08:02:34 +00:00
commit 07c35d61e3
3 changed files with 76 additions and 1 deletions

View file

@ -443,6 +443,7 @@ CPP0X_TEST_CASES = \
cpp0x_raw_string_literals \
cpp0x_rvalue_reference \
cpp0x_rvalue_reference2 \
cpp0x_rvalue_reference3 \
cpp0x_sizeof_object \
cpp0x_static_assert \
cpp0x_strongly_typed_enumerations \