aboutsummaryrefslogtreecommitdiff
path: root/src/basicmacros.h
AgeCommit message (Collapse)Author
2015-11-02Rename and move basicmacros.h to util/basic_macros.hest31
2015-10-27Add STATIC_ASSERT() macro and use itkwolekr
2015-10-27Add DISABLE_CLASS_COPY macro (and use it)kwolekr
Use this macro to disallow copying of an object using the assignment operator or copy constructor. This catches otherwise silent-but-deadly mistakes such as "ServerMap map = env->getMap();" at compile time. If so desired, it is still possible to copy a class, but it now requires an explicit call to memcpy or std::copy.
2015-10-27Fix missing #includePilzAdam
2015-10-27Move basic, non-numeric macros from util/numeric.h to basicmacros.hkwolekr