Re: [cfe-users] How to check whether a type is_copy_assignable?

2020-02-20 Thread Weston Carvalho via cfe-users
m checking is an instantiation of a template class itself or if its copy constructor was templated? Thanks again for your help, Weston On Wed, Feb 19, 2020 at 2:49 PM Richard Smith wrote: > On Thu, 6 Feb 2020 at 12:13, Weston Carvalho via cfe-users < > cfe-users@lists.llvm.org> wrote:

[cfe-users] How to check whether a type is_copy_assignable?

2020-02-06 Thread Weston Carvalho via cfe-users
HI, I'm trying to write a tool that uses the AST to look at all the class declarations in our codebase and get some metrics on our use of special member functions. (How many classes are copyable, how many have ctors without the corresponding assignment operator, etc.) I'm running into some problem