¡@

Home 

c++ Programming Glossary: basemixin

SFINAE to check for inherited member functions

http://stackoverflow.com/questions/1966362/sfinae-to-check-for-inherited-member-functions

class has_foo class yes char m class no yes m 2 struct BaseMixin void foo struct Base public Type public BaseMixin template.. struct BaseMixin void foo struct Base public Type public BaseMixin template typename T T t class Helper template typename U static.. Helper template typename U static no deduce U Helper void BaseMixin U foo 0 static yes deduce ... public static const bool result..

How does this has_member class template work?

http://stackoverflow.com/questions/9117603/how-does-this-has-member-class-template-work

class has_member class yes char m class no yes m 2 struct BaseMixin void operator struct Base public Type public BaseMixin template.. BaseMixin void operator struct Base public Type public BaseMixin template typename T T t class Helper template typename U static.. Helper template typename U static no deduce U Helper void BaseMixin U operator 0 static yes deduce ... public static const bool..

Checking a member exists, possibly in a base class, C++11 version

http://stackoverflow.com/questions/9530928/checking-a-member-exists-possibly-in-a-base-class-c11-version

has_resize_method class yes char m class no yes m 2 struct BaseMixin void resize int struct Base public Type public BaseMixin template.. BaseMixin void resize int struct Base public Type public BaseMixin template typename T T t class Helper template typename U static.. Helper template typename U static no deduce U Helper void BaseMixin U foo 0 static yes deduce ... public static const bool result..