mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
Merge branch 'master' of github.com:mpusz/units
This commit is contained in:
@@ -20,6 +20,10 @@ namespace mp_units::detail {
|
||||
template<typename T>
|
||||
[[nodiscard]] consteval std::string_view type_name()
|
||||
{
|
||||
#ifdef __RESHARPER__
|
||||
return __rscpp_type_name<T>();
|
||||
#endif
|
||||
|
||||
std::string_view name, prefix, suffix;
|
||||
#ifdef __clang__
|
||||
name = __PRETTY_FUNCTION__;
|
||||
|
Reference in New Issue
Block a user