@@ -172,7 +172,7 @@ Value& Value::operator=(Value&& rhs)
172172 return *this ;
173173}
174174
175- Value:: Type Value::type () const
175+ Type Value::type () const
176176{
177177 return _type;
178178}
@@ -226,7 +226,7 @@ void Value::emplace_back(std::string&& name, Value&& value)
226226 _map->emplace_back (std::make_pair (std::move (name), std::move (value)));
227227}
228228
229- Value:: MapType::const_iterator Value::find (const std::string& name) const
229+ MapType::const_iterator Value::find (const std::string& name) const
230230{
231231 if (_type != Type::Map)
232232 {
@@ -276,7 +276,7 @@ const Value& Value::operator[](size_t index) const
276276}
277277
278278template <>
279- void Value::set<Value:: StringType>(StringType&& value)
279+ void Value::set<StringType>(StringType&& value)
280280{
281281 if (_type != Type::String
282282 && _type != Type::EnumValue)
@@ -288,7 +288,7 @@ void Value::set<Value::StringType>(StringType&& value)
288288}
289289
290290template <>
291- void Value::set<Value:: BooleanType>(BooleanType&& value)
291+ void Value::set<BooleanType>(BooleanType&& value)
292292{
293293 if (_type != Type::Boolean)
294294 {
@@ -299,7 +299,7 @@ void Value::set<Value::BooleanType>(BooleanType&& value)
299299}
300300
301301template <>
302- void Value::set<Value:: IntType>(IntType&& value)
302+ void Value::set<IntType>(IntType&& value)
303303{
304304 if (_type != Type::Int)
305305 {
@@ -310,7 +310,7 @@ void Value::set<Value::IntType>(IntType&& value)
310310}
311311
312312template <>
313- void Value::set<Value:: FloatType>(FloatType&& value)
313+ void Value::set<FloatType>(FloatType&& value)
314314{
315315 if (_type != Type::Float)
316316 {
@@ -321,7 +321,7 @@ void Value::set<Value::FloatType>(FloatType&& value)
321321}
322322
323323template <>
324- void Value::set<Value:: ScalarType>(ScalarType&& value)
324+ void Value::set<ScalarType>(ScalarType&& value)
325325{
326326 if (_type != Type::Scalar)
327327 {
@@ -332,7 +332,7 @@ void Value::set<Value::ScalarType>(ScalarType&& value)
332332}
333333
334334template <>
335- const Value:: MapType& Value::get<const Value:: MapType&>() const
335+ const MapType& Value::get<const MapType&>() const
336336{
337337 if (_type != Type::Map)
338338 {
@@ -343,7 +343,7 @@ const Value::MapType& Value::get<const Value::MapType&>() const
343343}
344344
345345template <>
346- const Value:: ListType& Value::get<const Value:: ListType&>() const
346+ const ListType& Value::get<const ListType&>() const
347347{
348348 if (_type != Type::List)
349349 {
@@ -354,7 +354,7 @@ const Value::ListType& Value::get<const Value::ListType&>() const
354354}
355355
356356template <>
357- const Value:: StringType& Value::get<const Value:: StringType&>() const
357+ const StringType& Value::get<const StringType&>() const
358358{
359359 if (_type != Type::String
360360 && _type != Type::EnumValue)
@@ -366,7 +366,7 @@ const Value::StringType& Value::get<const Value::StringType&>() const
366366}
367367
368368template <>
369- Value:: BooleanType Value::get<Value:: BooleanType>() const
369+ BooleanType Value::get<BooleanType>() const
370370{
371371 if (_type != Type::Boolean)
372372 {
@@ -377,7 +377,7 @@ Value::BooleanType Value::get<Value::BooleanType>() const
377377}
378378
379379template <>
380- Value:: IntType Value::get<Value:: IntType>() const
380+ IntType Value::get<IntType>() const
381381{
382382 if (_type != Type::Int)
383383 {
@@ -388,7 +388,7 @@ Value::IntType Value::get<Value::IntType>() const
388388}
389389
390390template <>
391- Value:: FloatType Value::get<Value:: FloatType>() const
391+ FloatType Value::get<FloatType>() const
392392{
393393 if (_type != Type::Float)
394394 {
@@ -399,7 +399,7 @@ Value::FloatType Value::get<Value::FloatType>() const
399399}
400400
401401template <>
402- const Value:: ScalarType& Value::get<const Value:: ScalarType&>() const
402+ const ScalarType& Value::get<const ScalarType&>() const
403403{
404404 if (_type != Type::Scalar)
405405 {
@@ -410,7 +410,7 @@ const Value::ScalarType& Value::get<const Value::ScalarType&>() const
410410}
411411
412412template <>
413- Value:: MapType Value::release<Value:: MapType>()
413+ MapType Value::release<MapType>()
414414{
415415 if (_type != Type::Map)
416416 {
@@ -425,7 +425,7 @@ Value::MapType Value::release<Value::MapType>()
425425}
426426
427427template <>
428- Value:: ListType Value::release<Value:: ListType>()
428+ ListType Value::release<ListType>()
429429{
430430 if (_type != Type::List)
431431 {
@@ -438,7 +438,7 @@ Value::ListType Value::release<Value::ListType>()
438438}
439439
440440template <>
441- Value:: StringType Value::release<Value:: StringType>()
441+ StringType Value::release<StringType>()
442442{
443443 if (_type != Type::String
444444 && _type != Type::EnumValue)
@@ -452,7 +452,7 @@ Value::StringType Value::release<Value::StringType>()
452452}
453453
454454template <>
455- Value:: ScalarType Value::release<Value:: ScalarType>()
455+ ScalarType Value::release<ScalarType>()
456456{
457457 if (_type != Type::Scalar)
458458 {
0 commit comments