1 | #ifndef B1_H |
---|---|
2 | #define B1_H |
3 | template<typename T, T v> |
4 | struct S { static constexpr T value = v; }; |
5 | template<typename T, T v> |
6 | constexpr T S<T, v>::value; |
7 | |
8 | #include "a.h" |
9 | #endif |
10 |
1 | #ifndef B1_H |
---|---|
2 | #define B1_H |
3 | template<typename T, T v> |
4 | struct S { static constexpr T value = v; }; |
5 | template<typename T, T v> |
6 | constexpr T S<T, v>::value; |
7 | |
8 | #include "a.h" |
9 | #endif |
10 |