noboolalpha
Specifies that variables of type bool appear as 1 or 0 in the stream.
ios_base& noboolalpha(
ios_base& _Str
);
매개 변수
- _Str
A reference to an object of type ios_base, or to a type that inherits from ios_base.
반환 값
A reference to the object from which _Str is derived.
설명
By default, noboolalpha is in effect.
noboolalpha effectively calls _Str.unsetf(ios_base::boolalpha), and then returns _Str.
boolalpha reverses the effect of noboolalpha.
예제
See boolalpha for an example of using noboolalpha.
요구 사항
Header: <ios>
네임스페이스: std