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:
Danny Robson 2021-04-07 12:53:49 +10:00
parent 6ba13aa25e
commit 6cac76e210
2 changed files with 2 additions and 0 deletions

View File

@ -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"

View File

@ -249,6 +249,7 @@ namespace cruft::types {
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
template <typename T> template <typename T>
constexpr
description description
make_description (void) noexcept make_description (void) noexcept
{ {