We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17527ae commit 25fb95fCopy full SHA for 25fb95f
include/mrdocs/Metadata/Symbol/EnumToString.hpp
@@ -14,9 +14,7 @@
14
#include <boost/describe/enumerators.hpp>
15
#include <boost/mp11.hpp>
16
#include <mrdocs/Support/Assert.hpp>
17
-#include <mrdocs/Support/String.hpp>
18
#include <string>
19
-#include <type_traits>
20
21
namespace mrdocs {
22
@@ -26,8 +24,7 @@ namespace mrdocs {
26
24
@return The string form of the enumerator.
27
25
*/
28
template <typename Enum>
29
- requires std::is_enum_v<Enum>
30
- && boost::describe::has_describe_enumerators<Enum>::value
+ requires boost::describe::has_describe_enumerators<Enum>::value
31
std::string
32
toString(Enum e)
33
{
0 commit comments