[+] c[lass]static and c[lass]inline macros / pseudo-keywords
exactly what you think inline and static should do, except these work under a class, and ignores bjarne strdupstrlen's low iq takes... ...who the hell wants to write static inline const whatever the fuck under a class? who? also c++17s linkage is still confusing to even the most experienced [c or out-of-touch] devs, mr i design useless iterator based loops around my students being too retarded to write actually useful loops. you and your phd committee really couldn't have thought of a better word to use as a keyword for link once, huh?
This commit is contained in:
parent
b41f48a724
commit
5e734020d2
@ -127,12 +127,27 @@
|
||||
#endif
|
||||
|
||||
#if !defined(NO__NEW)
|
||||
// new... the way it should be.
|
||||
// not sure who thought it would be a good idea to add tags in the placement new syntax
|
||||
#if !defined(_new)
|
||||
#define _new new (std::nothrow)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(NO_C_CLASS_MACROS)
|
||||
// C-like inline and static for classes/structures (hence the c-prefix... class)
|
||||
|
||||
#if !defined(cstatic)
|
||||
#define cstatic inline static
|
||||
#endif
|
||||
|
||||
#if !defined(cinline)
|
||||
#define cinline AU_INLINE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(NO__INLINE)
|
||||
// an actual inline pseudo-keyword without the requirement of mucho-texto
|
||||
#if !defined(auline)
|
||||
#define auline AU_INLINE
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user