File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,8 @@ struct [[nodiscard]] IdType
68
68
// Implicit ByteData constructors
69
69
GRAPHQLRESPONSE_EXPORT IdType (size_t count, typename ByteData::value_type value = 0 );
70
70
GRAPHQLRESPONSE_EXPORT IdType (std::initializer_list<typename ByteData::value_type> values);
71
-
72
71
template <typename InputIt>
73
- IdType (InputIt begin, InputIt end)
74
- : _data { ByteData { begin, end } }
75
- {
76
- }
72
+ IdType (InputIt begin, InputIt end);
77
73
78
74
// Assignment
79
75
GRAPHQLRESPONSE_EXPORT IdType& operator =(IdType&& rhs) noexcept ;
@@ -147,6 +143,12 @@ struct [[nodiscard]] IdType
147
143
#ifdef GRAPHQL_DLLEXPORTS
148
144
// Export all of the specialized template methods
149
145
template <>
146
+ GRAPHQLRESPONSE_EXPORT IdType::IdType (
147
+ typename ByteData::const_iterator begin, typename ByteData::const_iterator end);
148
+ template <>
149
+ GRAPHQLRESPONSE_EXPORT IdType::IdType (
150
+ typename ByteData::const_pointer begin, typename ByteData::const_pointer end);
151
+ template <>
150
152
GRAPHQLRESPONSE_EXPORT const IdType::ByteData& IdType::get<IdType::ByteData>() const ;
151
153
template <>
152
154
GRAPHQLRESPONSE_EXPORT const IdType::OpaqueString& IdType::get<IdType::OpaqueString>() const ;
Original file line number Diff line number Diff line change @@ -41,6 +41,18 @@ IdType::IdType(std::initializer_list<typename ByteData::value_type> values)
41
41
{
42
42
}
43
43
44
+ template <>
45
+ IdType::IdType (typename ByteData::const_iterator begin, typename ByteData::const_iterator end)
46
+ : _data { ByteData { begin, end } }
47
+ {
48
+ }
49
+
50
+ template <>
51
+ IdType::IdType (typename ByteData::const_pointer begin, typename ByteData::const_pointer end)
52
+ : _data { ByteData { begin, end } }
53
+ {
54
+ }
55
+
44
56
IdType& IdType::operator =(IdType&& rhs) noexcept
45
57
{
46
58
if (&rhs != this )
You can’t perform that action at this time.
0 commit comments