- // 27.4.2.1.2 Type fmtflags
- static const fmtflags boolalpha = fmtflags(__ios_flags::_S_boolalpha);
- static const fmtflags dec = fmtflags(__ios_flags::_S_dec);
- static const fmtflags fixed = fmtflags(__ios_flags::_S_fixed);
- static const fmtflags hex = fmtflags(__ios_flags::_S_hex);
- static const fmtflags internal = fmtflags(__ios_flags::_S_internal);
- static const fmtflags left = fmtflags(__ios_flags::_S_left);
- static const fmtflags oct = fmtflags(__ios_flags::_S_oct);
- static const fmtflags right = fmtflags(__ios_flags::_S_right);
- static const fmtflags scientific = fmtflags(__ios_flags::_S_scientific);
- static const fmtflags showbase = fmtflags(__ios_flags::_S_showbase);
- static const fmtflags showpoint = fmtflags(__ios_flags::_S_showpoint);
- static const fmtflags showpos = fmtflags(__ios_flags::_S_showpos);
- static const fmtflags skipws = fmtflags(__ios_flags::_S_skipws);
- static const fmtflags unitbuf = fmtflags(__ios_flags::_S_unitbuf);
- static const fmtflags uppercase = fmtflags(__ios_flags::_S_uppercase);
- static const fmtflags adjustfield = fmtflags(__ios_flags::_S_adjustfield);
- static const fmtflags basefield = fmtflags(__ios_flags::_S_basefield);
- static const fmtflags floatfield = fmtflags(__ios_flags::_S_floatfield);
+
+ /// Insert/extract @c bool in alphabetic rather than numeric format.
+ static const fmtflags boolalpha = _S_boolalpha;
+
+ /// Converts integer input or generates integer output in decimal base.
+ static const fmtflags dec = _S_dec;
+
+ /// Generate floating-point output in fixed-point notation.
+ static const fmtflags fixed = _S_fixed;
+
+ /// Converts integer input or generates integer output in hexadecimal base.
+ static const fmtflags hex = _S_hex;
+
+ /// Adds fill characters at a designated internal point in certain
+ /// generated output, or identical to @c right if no such point is
+ /// designated.
+ static const fmtflags internal = _S_internal;
+
+ /// Adds fill characters on the right (final positions) of certain
+ /// generated output. (I.e., the thing you print is flush left.)
+ static const fmtflags left = _S_left;
+
+ /// Converts integer input or generates integer output in octal base.
+ static const fmtflags oct = _S_oct;
+
+ /// Adds fill characters on the left (initial positions) of certain
+ /// generated output. (I.e., the thing you print is flush right.)
+ static const fmtflags right = _S_right;
+
+ /// Generates floating-point output in scientific notation.
+ static const fmtflags scientific = _S_scientific;
+
+ /// Generates a prefix indicating the numeric base of generated integer
+ /// output.
+ static const fmtflags showbase = _S_showbase;
+
+ /// Generates a decimal-point character unconditionally in generated
+ /// floating-point output.
+ static const fmtflags showpoint = _S_showpoint;
+
+ /// Generates a + sign in non-negative generated numeric output.
+ static const fmtflags showpos = _S_showpos;
+
+ /// Skips leading white space before certain input operations.
+ static const fmtflags skipws = _S_skipws;
+
+ /// Flushes output after each output operation.
+ static const fmtflags unitbuf = _S_unitbuf;
+
+ /// Replaces certain lowercase letters with their uppercase equivalents
+ /// in generated output.
+ static const fmtflags uppercase = _S_uppercase;
+
+ /// A mask of left|right|internal. Useful for the 2-arg form of @c setf.
+ static const fmtflags adjustfield = _S_adjustfield;
+
+ /// A mask of dec|oct|hex. Useful for the 2-arg form of @c setf.
+ static const fmtflags basefield = _S_basefield;
+
+ /// A mask of scientific|fixed. Useful for the 2-arg form of @c setf.
+ static const fmtflags floatfield = _S_floatfield;