types/description: make_description should be constexpr
This would be possible in the general case, but is fine for fundamental types.
This commit is contained in:
parent
6ba13aa25e
commit
6cac76e210
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
#include "introspection/name.hpp"
|
#include "introspection/name.hpp"
|
||||||
#include "introspection/type.hpp"
|
#include "introspection/type.hpp"
|
||||||
#include "std.hpp"
|
#include "std.hpp"
|
||||||
|
@ -249,6 +249,7 @@ namespace cruft::types {
|
|||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
constexpr
|
||||||
description
|
description
|
||||||
make_description (void) noexcept
|
make_description (void) noexcept
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user