@@ -412,6 +412,7 @@ class parse_into_test
412412 testParseInto<E>( E::z );
413413
414414 testParseIntoErrors< E >( error::not_string, (int )(E::y) );
415+ testParseIntoErrors< E >( error::unknown_name, " zoom" );
415416#endif // BOOST_DESCRIBE_CXX14
416417 }
417418
@@ -458,6 +459,9 @@ class parse_into_test
458459#ifndef BOOST_NO_CXX17_HDR_OPTIONAL
459460 testParseInto< std::optional<int > >( std::nullopt );
460461 testParseInto< std::optional<int > >( 1 );
462+ testParseInto< std::optional<std::uint64_t > >( ULONG_MAX );
463+ testParseInto< std::optional<bool > >( true );
464+ testParseInto< std::optional<double > >( 33.77 );
461465
462466 testParseInto< std::optional<std::vector<std::nullptr_t >> >(
463467 std::nullopt );
@@ -469,6 +473,9 @@ class parse_into_test
469473 testParseInto< std::optional<std::vector<std::string>> >(
470474 std::vector<std::string>{" 1" , " 2" , " 3" } );
471475
476+ testParseInto< std::optional< std::map<std::string, int > > >(
477+ std::map<std::string, int >{ {" 1" , 1 }, {" 2" , 2 }, {" 3" , 3 } } );
478+
472479 testParseInto< std::vector< std::optional<int > > >(
473480 {1 , 2 , 3 , std::nullopt , 5 , std::nullopt , std::nullopt , 8 });
474481#endif
0 commit comments