@@ -526,10 +526,10 @@ template <class _Traits>
526
526
// Attribute 'packed' is used to keep the layout compatible with the previous
527
527
// definition of the '__fill_' and '_set_' pair in basic_ios on AIX & z/OS.
528
528
struct _LIBCPP_PACKED _OptionalFill {
529
- _OptionalFill () : __set_(false ) { }
530
- _OptionalFill& operator =(typename _Traits::int_type __x) { __set_ = true ; __fill_val_ = __x; return *this ; }
531
- bool __is_set () const { return __set_; }
532
- typename _Traits::int_type __fill () const { return __fill_val_; }
529
+ _LIBCPP_HIDE_FROM_ABI _OptionalFill () : __set_(false ) { }
530
+ _LIBCPP_HIDE_FROM_ABI _OptionalFill& operator =(typename _Traits::int_type __x) { __set_ = true ; __fill_val_ = __x; return *this ; }
531
+ _LIBCPP_HIDE_FROM_ABI bool __is_set () const { return __set_; }
532
+ _LIBCPP_HIDE_FROM_ABI typename _Traits::int_type __fill () const { return __fill_val_; }
533
533
534
534
private:
535
535
typename _Traits::int_type __fill_val_;
@@ -538,10 +538,10 @@ private:
538
538
539
539
template <class _Traits >
540
540
struct _LIBCPP_PACKED _SentinelValueFill {
541
- _SentinelValueFill () : __fill_val_(_Traits::eof()) { }
542
- _SentinelValueFill& operator =(typename _Traits::int_type __x) { __fill_val_ = __x; return *this ; }
543
- bool __is_set () const { return __fill_val_ != _Traits::eof (); }
544
- typename _Traits::int_type __fill () const { return __fill_val_; }
541
+ _LIBCPP_HIDE_FROM_ABI _SentinelValueFill () : __fill_val_(_Traits::eof()) { }
542
+ _LIBCPP_HIDE_FROM_ABI _SentinelValueFill& operator =(typename _Traits::int_type __x) { __fill_val_ = __x; return *this ; }
543
+ _LIBCPP_HIDE_FROM_ABI bool __is_set () const { return __fill_val_ != _Traits::eof (); }
544
+ _LIBCPP_HIDE_FROM_ABI typename _Traits::int_type __fill () const { return __fill_val_; }
545
545
546
546
private:
547
547
typename _Traits::int_type __fill_val_;
0 commit comments