fork download
  1. t.cpp:53:14: error: volatile lvalue reference to type 'const volatile S' cannot
  2. bind to a temporary of type 'const S'
  3. assert (!is_lvalue(g()));
  4. ~~~~~~~~~^~~~~~~~~~~~~~~
  5. t.cpp:14:52: note: expanded from macro 'is_lvalue'
  6. #define is_lvalue(x) (sizeof(is_lvalue_helper((x), (x))) == 2)
  7. ^
  8. /usr/include/assert.h:92:5: note: expanded from macro 'assert'
  9. ((expr) \
  10. ^~~~
  11. t.cpp:12:76: note: passing argument to parameter here
  12. ...typename nondeducible<const volatile T&>::type))[2];
  13. ^
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty