Back to home page

OSCL-LXR

 
 

    


0001 #ifndef _LINUX_CONST_H
0002 #define _LINUX_CONST_H
0003 
0004 #include <vdso/const.h>
0005 
0006 /*
0007  * This returns a constant expression while determining if an argument is
0008  * a constant expression, most importantly without evaluating the argument.
0009  * Glory to Martin Uecker <Martin.Uecker@med.uni-goettingen.de>
0010  */
0011 #define __is_constexpr(x) \
0012     (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
0013 
0014 #endif /* _LINUX_CONST_H */