Skip to content

Conversation

@DanielaE
Copy link
Contributor

@DanielaE DanielaE commented Feb 6, 2019

Since C++17, using template specialization std::allocator<void> in any shape or form (even just mentioning it) is deprecated! A simple workaround is replacing void by another (preferably empty) type, e.g. fmt::monostate.

Found by Clang 9 in Visual Studio.

Since C++17, using template specialization 'std::allocator<void>' in any shape or form (even just mentioning it) is deprecated! A simple workaround is replacing 'void' by another (preferably empty) type, e.g. 'fmt::monostate'.

Found by Clang 9 in Visual Studio.
@vitaut vitaut merged commit 01f34d0 into fmtlib:master Feb 7, 2019
@vitaut
Copy link
Contributor

vitaut commented Feb 7, 2019

Merged, thanks!

@DanielaE DanielaE deleted the fix/deprecated-allocator‹void› branch February 8, 2019 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants