Skip to content

Commit 2a43ae8

Browse files
committed
Removed from the to_string function specialization of types not present yet in the master branch
1 parent 5612363 commit 2a43ae8

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

include/nbl/system/to_string.h

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
#define _NBL_SYSTEM_TO_STRING_INCLUDED_
33

44
#include <nbl/builtin/hlsl/cpp_compat.hlsl>
5-
#include <nbl/builtin/hlsl/emulated/int64_t.hlsl>
6-
#include <nbl/builtin/hlsl/morton.hlsl>
75

86
namespace nbl
97
{
@@ -21,24 +19,6 @@ struct to_string_helper
2119
}
2220
};
2321

24-
template<>
25-
struct to_string_helper<hlsl::emulated_uint64_t>
26-
{
27-
static std::string __call(const hlsl::emulated_uint64_t& value)
28-
{
29-
return std::to_string(static_cast<uint64_t>(value));
30-
}
31-
};
32-
33-
template<>
34-
struct to_string_helper<hlsl::emulated_int64_t>
35-
{
36-
static std::string __call(const hlsl::emulated_int64_t& value)
37-
{
38-
return std::to_string(static_cast<int64_t>(value));
39-
}
40-
};
41-
4222
template<typename T, int16_t N>
4323
struct to_string_helper<hlsl::vector<T, N>>
4424
{
@@ -59,18 +39,6 @@ struct to_string_helper<hlsl::vector<T, N>>
5939
}
6040
};
6141

62-
template<bool Signed, uint16_t Bits, uint16_t D, typename _uint64_t>
63-
struct to_string_helper<hlsl::morton::code<Signed, Bits, D, _uint64_t>>
64-
{
65-
using value_t = hlsl::morton::code<Signed, Bits, D, _uint64_t>;
66-
static std::string __call(value_t value)
67-
{
68-
TestValueToTextConverter<value_t::storage_t> mortonCodeDataToTextConverter;
69-
return mortonCodeDataToTextConverter(value.value);
70-
}
71-
};
72-
73-
7442
}
7543

7644
template<typename T>

0 commit comments

Comments
 (0)