You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(TypeModifier::Nullable == _Modifier, "this is the nullable version");
316
-
static_assert(std::is_same<std::shared_ptr<_Type>, typename ResultTraits<_Type, _Modifier, _Other...>::type>::value, "this is the shared_ptr version");
317
-
318
315
if (!result)
319
316
{
320
317
returnweb::json::value::null();
@@ -325,11 +322,11 @@ struct ModifiedResult
325
322
326
323
// Peel off nullable modifiers for anything else, which should all be std::unique_ptr.
static_assert(TypeModifier::Nullable == _Modifier, "this is the nullable version");
332
-
static_assert(!std::is_same<std::shared_ptr<_Type>, typename ResultTraits<_Type, _Modifier, _Other...>::type>::value, "this is the unique_ptr version or a subclass of Object");
0 commit comments