c++ - Does C++11 or C++14 support "&& const" in declaration -


is following definition (from piece of c++ source code) valid?

struct test_ {     int i;     test_(int j) : i(j) { }     int try() && { return i; }     int try() && const { return -i; } }; 

i mean if it's valid put const after &&. code overload resolution ref-qualifier.

i know const && valid. wonder if "&& const" supported in c++11 or c++14.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -