От: | _NN_ | www.nemerleweb.com | |
Дата: | 08.07.20 14:54 | ||
Оценка: | 1 (1) +1 |
In certain cases (replacement functions, handler functions, operations on types used to instantiate standard library template components), the C++ standard library depends on components supplied by a C++ program. If these components do not meet their requirements, the Standard places no requirements on the implementation.
In particular, the effects are undefined in the following cases:
...
if an incomplete type is used as a template argument when instantiating a template component, unless specifically allowed for that component.