File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ namespace tao::json::binding
84
84
85
85
using internal_t = std::decay_t < decltype( P( std::declval< const C >() ) ) >;
86
86
87
- [[nodiscard]] static decltype ( auto ) read( const C& v )
87
+ [[nodiscard]] static decltype ( auto ) read( const C& v ) noexcept ( N )
88
88
{
89
89
return P ( v );
90
90
}
@@ -107,13 +107,13 @@ namespace tao::json::binding
107
107
108
108
using internal_t = value_t ;
109
109
110
- [[nodiscard]] static decltype ( auto ) read( const A& v ) noexcept
110
+ [[nodiscard]] static decltype ( auto ) read( const A& v ) noexcept ( CN )
111
111
{
112
112
return CP ( v );
113
113
}
114
114
115
115
template < typename W >
116
- static void write ( A& v, W&& w )
116
+ static void write ( A& v, W&& w ) noexcept ( N )
117
117
{
118
118
P ( v ) = std::forward< W >( w );
119
119
}
@@ -145,13 +145,13 @@ namespace tao::json::binding
145
145
146
146
using internal_t = value_t ;
147
147
148
- [[nodiscard]] static decltype ( auto ) read( const A& v ) noexcept
148
+ [[nodiscard]] static decltype ( auto ) read( const A& v ) noexcept ( CN )
149
149
{
150
150
return CP ( v );
151
151
}
152
152
153
153
template < typename W >
154
- static void write ( A& v, W&& w )
154
+ static void write ( A& v, W&& w ) noexcept ( N )
155
155
{
156
156
P ( v, std::forward< W >( w ) );
157
157
}
You can’t perform that action at this time.
0 commit comments