Displaying 1 result from an estimated 1 matches for "getpointeruniontypenum".
2009 Sep 13
1
[LLVMdev] Is it possible using anonymous namespace on template in header files.
for example
/// getPointerUnionTypeNum - If the argument has type PT1* or PT2* return
/// false or true respectively.
template <typename PT1, typename PT2>
static inline int getPointerUnionTypeNum(PT1 *P) { return 0; }
template <typename PT1, typename PT2>
static inline int getPointerUnionTypeNum(PT2 *P) { return 1...