#A Here we have a NTTP
| 18 | |
| 19 | template<fixed_string Str> // #A Here we have a NTTP |
| 20 | struct FixedStringContainer { |
| 21 | void print() |
| 22 | { |
| 23 | std::cout << Str.data << '\n'; // #B Use Str |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | template<fixed_string Str> // #A Takes the fixed string as NTTP |
| 28 | struct FormatString { |
nothing calls this directly
no outgoing calls
no test coverage detected