This is the expected output: Allocate 42 bytes (tag: 0) Void* allocate(const std::size_t size, const Tag tag) CompilerExplorer compiler: 圆4 msvc 19.33.I don't understand why CompilerExplorer works using the same compiler than VS2022 but the second fails I'm building a STL-friendly Allocator to track allocations based on a TagĪllocator expects T to have a static constexpr identifier 'tag'Īt some point on template deduction/instantiation, T is replaced by std::_Container_proxy which has no 'tag' identifier
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |