Stroika Library 3.0d18
 
Loading...
Searching...
No Matches
Specification.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4
5namespace Stroika::Frameworks::WebService::OpenAPI {
6
7 inline Specification::Specification (const VariantValue& v)
8 : fValue_{v}
9 {
10 }
11 template <typename T>
12 inline T Specification::As () const
13 requires (same_as<T, VariantValue>)
14 {
15 if constexpr (same_as<T, VariantValue>) {
16 return fValue_;
17 }
18 }
19
20}