How to determine when a C++11 move is synthesized?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have a library that's C++03, and its moving towards full support
for C++11. We are supplementing classes with:

    class Foo
    {
        public:
            Foo();
            Foo(const Foo&);
            Foo& operator=(const Foo&);

#if defined(CXX11_AVAILABLE)
            Foo(const Foo&&);
#endif
    };

We have a lot of classes (1500 or so), and its going to take some time
to evaluate all of them. As a starting point, we would like to
identify where the compiler is synthesizing a move and then provide it
(especially for some fundamental/critical base classes).

How can I determine when a C++11 move is synthesized?

Thanks in advance.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux