@@ -49,7 +49,7 @@ template< typename, typename, typename > class basic_string;
49
49
50
50
namespace filesystem {
51
51
52
- BOOST_FILESYSTEM_DECL system::error_category const & codecvt_error_category () BOOST_NOEXCEPT ;
52
+ BOOST_FILESYSTEM_DECL system::error_category const & codecvt_error_category () noexcept ;
53
53
54
54
class directory_entry ;
55
55
@@ -398,19 +398,19 @@ struct is_native_char_ptr< const path_native_char_type* > :
398
398
};
399
399
400
400
401
- // ! Converts character encoding using the supplied codecvt facet. If \a cvt is \c NULL then \c path::codecvt() will be used.
401
+ // ! Converts character encoding using the supplied codecvt facet. If \a cvt is \c nullptr then \c path::codecvt() will be used.
402
402
BOOST_FILESYSTEM_DECL
403
- void convert (const char * from, const char * from_end, std::wstring& to, const codecvt_type* cvt = NULL );
403
+ void convert (const char * from, const char * from_end, std::wstring& to, const codecvt_type* cvt = nullptr );
404
404
405
405
// ! \overload convert
406
406
BOOST_FILESYSTEM_DECL
407
- void convert (const wchar_t * from, const wchar_t * from_end, std::string& to, const codecvt_type* cvt = NULL );
407
+ void convert (const wchar_t * from, const wchar_t * from_end, std::string& to, const codecvt_type* cvt = nullptr );
408
408
409
409
410
410
// Source dispatch -----------------------------------------------------------------//
411
411
412
412
template < typename Source, typename Callback >
413
- typename Callback::result_type dispatch (Source const & source, Callback cb, const codecvt_type* cvt = NULL );
413
+ typename Callback::result_type dispatch (Source const & source, Callback cb, const codecvt_type* cvt = nullptr );
414
414
415
415
template < typename Callback >
416
416
BOOST_FORCEINLINE typename Callback::result_type dispatch (const char * source, Callback cb, const codecvt_type* cvt, ntcts_type_tag)
@@ -442,7 +442,7 @@ BOOST_FORCEINLINE typename Callback::result_type dispatch(Source const& source,
442
442
template < typename Callback >
443
443
BOOST_FORCEINLINE typename Callback::result_type dispatch (std::vector< char > const & source, Callback cb, const codecvt_type* cvt, range_type_tag)
444
444
{
445
- const char * data = NULL , *data_end = NULL ;
445
+ const char * data = nullptr , *data_end = nullptr ;
446
446
if (!source.empty ())
447
447
{
448
448
data = &source[0 ];
@@ -454,7 +454,7 @@ BOOST_FORCEINLINE typename Callback::result_type dispatch(std::vector< char > co
454
454
template < typename Callback >
455
455
BOOST_FORCEINLINE typename Callback::result_type dispatch (std::vector< wchar_t > const & source, Callback cb, const codecvt_type* cvt, range_type_tag)
456
456
{
457
- const wchar_t * data = NULL , *data_end = NULL ;
457
+ const wchar_t * data = nullptr , *data_end = nullptr ;
458
458
if (!source.empty ())
459
459
{
460
460
data = &source[0 ];
@@ -496,9 +496,7 @@ yes_type check_convertible(std::wstring_view const&);
496
496
#endif
497
497
yes_type check_convertible (boost::basic_string_view< char , std::char_traits< char > > const &);
498
498
yes_type check_convertible (boost::basic_string_view< wchar_t , std::char_traits< wchar_t > > const &);
499
- #if !defined(BOOST_NO_CXX11_NULLPTR)
500
499
no_type check_convertible (std::nullptr_t );
501
- #endif
502
500
no_type check_convertible (...);
503
501
504
502
} // namespace is_convertible_to_path_source_impl
@@ -525,9 +523,7 @@ namespace is_convertible_to_std_string_view_impl {
525
523
526
524
yes_type check_convertible (std::string_view const &);
527
525
yes_type check_convertible (std::wstring_view const &);
528
- #if !defined(BOOST_NO_CXX11_NULLPTR)
529
526
no_type check_convertible (std::nullptr_t );
530
- #endif
531
527
no_type check_convertible (...);
532
528
533
529
} // namespace is_convertible_to_std_string_view_impl
@@ -551,9 +547,7 @@ yes_type check_convertible(boost::container::basic_string< char, std::char_trait
551
547
yes_type check_convertible (boost::container::basic_string< wchar_t , std::char_traits< wchar_t >, void > const &);
552
548
yes_type check_convertible (boost::basic_string_view< char , std::char_traits< char > > const &);
553
549
yes_type check_convertible (boost::basic_string_view< wchar_t , std::char_traits< wchar_t > > const &);
554
- #if !defined(BOOST_NO_CXX11_NULLPTR)
555
550
no_type check_convertible (std::nullptr_t );
556
- #endif
557
551
no_type check_convertible (...);
558
552
559
553
} // namespace is_convertible_to_path_source_non_std_string_view_impl
@@ -683,7 +677,7 @@ BOOST_FORCEINLINE typename Callback::result_type dispatch_convertible_impl(std::
683
677
#endif // !defined(BOOST_NO_CXX17_HDR_STRING_VIEW)
684
678
685
679
template < typename Source, typename Callback >
686
- BOOST_FORCEINLINE typename Callback::result_type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = NULL )
680
+ BOOST_FORCEINLINE typename Callback::result_type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = nullptr )
687
681
{
688
682
typedef typename boost::remove_cv< Source >::type source_t ;
689
683
return path_traits::dispatch_convertible_impl< source_t >(source, cb, cvt);
@@ -709,7 +703,7 @@ template< typename Source, typename Callback >
709
703
BOOST_FORCEINLINE typename boost::disable_if_c<
710
704
is_convertible_to_std_string_view< typename boost::remove_cv< Source >::type >::value,
711
705
typename Callback::result_type
712
- >::type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = NULL )
706
+ >::type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = nullptr )
713
707
{
714
708
typedef typename boost::remove_cv< Source >::type source_t ;
715
709
return path_traits::dispatch_convertible_impl< source_t >(source, cb, cvt);
@@ -719,7 +713,7 @@ template< typename Source, typename Callback >
719
713
BOOST_FORCEINLINE typename boost::enable_if_c<
720
714
is_convertible_to_std_string_view< typename boost::remove_cv< Source >::type >::value,
721
715
typename Callback::result_type
722
- >::type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = NULL )
716
+ >::type dispatch_convertible (Source const & source, Callback cb, const codecvt_type* cvt = nullptr )
723
717
{
724
718
typedef typename boost::remove_cv< Source >::type source_t ;
725
719
return path_traits::dispatch_convertible_sv_impl< source_t >(source, cb, cvt);
0 commit comments