mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-13 11:17:06 +07:00
generate singles
This commit is contained in:
@@ -1024,14 +1024,14 @@ namespace meta_hpp::detail
|
||||
struct name_of_wrapper_impl {};
|
||||
|
||||
template < typename T >
|
||||
[[nodiscard]] constexpr std::string_view name_of_impl() noexcept {
|
||||
[[nodiscard]] constexpr auto name_of_impl() noexcept {
|
||||
#if META_HPP_DETAIL_COMPILER_ID == META_HPP_DETAIL_CLANG_COMPILER_ID
|
||||
constexpr auto prefix = std::string_view{"[T = "};
|
||||
constexpr auto suffix = std::string_view{"]"};
|
||||
constexpr auto prefix = std::string_view{"name_of_wrapper_impl<"};
|
||||
constexpr auto suffix = std::string_view{">]"};
|
||||
constexpr auto fnsign = std::string_view{__PRETTY_FUNCTION__};
|
||||
#elif META_HPP_DETAIL_COMPILER_ID == META_HPP_DETAIL_GCC_COMPILER_ID
|
||||
constexpr auto prefix = std::string_view{"with T = "};
|
||||
constexpr auto suffix = std::string_view{"]"};
|
||||
constexpr auto prefix = std::string_view{"name_of_wrapper_impl<"};
|
||||
constexpr auto suffix = std::string_view{">]"};
|
||||
constexpr auto fnsign = std::string_view{__PRETTY_FUNCTION__};
|
||||
#elif META_HPP_DETAIL_COMPILER_ID == META_HPP_DETAIL_MSVC_COMPILER_ID
|
||||
constexpr auto prefix = std::string_view{"name_of_wrapper_impl<"};
|
||||
|
||||
Reference in New Issue
Block a user