how to reflect on function attributes

Jonathan M Davis jmdavisProg at gmx.com
Tue Jun 4 19:19:22 PDT 2013


On Tuesday, June 04, 2013 19:03:47 Ellery Newcomer wrote:
> specifically, const, eg.
> 
> class A { void func() const { blah } }
> 
> std.traits.FunctionAttributes makes no mention of it

is(typeof(A.func) == const)

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list