📄 bcb6scl.toc
字号:
6 Members common to all types=Members common to all types
6 Members specific to floating point values=Members specific to floating point values
4 valarray
5 valarray overview=valarray overview
6 Performance issues=Performance issues
6 valarray type restrictions=valarray type restrictions
6 A class that meets the type restrictions=A class that meets the type restrictions
6 A class that doesn't meet the type restrictions=A class that doesnt meet the type restrictions
6 Other unique features=Other unique features
6 Declaring a valarray=Declaring a valarray
6 Assignment operators=Assignment operators
6 Ordinary index operators=Ordinary index operators
6 Subset operators=Subset operators
6 The slice operation=The slice operation
6 The gslice operation=The gslice operation
6 Boolean mask=Boolean mask
6 Indirect operation=Indirect operation
6 Unary operators=Unary operators
6 Computed assignment operators=Computed assignment operators
6 Member functions=Member functions
6 Binary operators=Binary operators
6 valarray transcendental functions=valarray transcendental functions
2 Locales and Iostreams
3 Part I: Introduction and document organization
4 Introduction=locales and iostreams introduction
4 Document organization=lio_Document organization
3 Part II: Locales
4 Internationalization and localization
5 Defining the terms=Defining the terms
5 Localizing cultural conventions=Localizing cultural conventions
5 Localization and language=Localization and language
5 Localization and numbers=Localization and numbers
5 Localization and currency=Localization and currency
5 Localization and time/date=Localization and time_date
5 Localization and collation=Localization and collation
5 Character encodings for localizing alphabets=Character encodings for localizing alphabets
5 Multibyte encodings=Multibyte encodings
5 JIS encoding=JIS encoding
5 Shift-JIS encoding=Shift-JIS encoding
5 EUC encoding=EUC encoding
5 Uses of the three multibyte encodings=Uses of the three multibyte encodings
5 Wide characters=Wide characters
5 Conversion between multibyte and wide characters=Conversion between multibyte and wide characters
4 The C and C++ locales
5 The C locale=The C locale
5 The C++ locales=The Cplusplus locales
5 Facet classes=Facet classes
5 The standard facets=The standard facets
5 Differences between the C locale and the C++ locales=Differences between the C locale and the Cplusplus locales
5 Common uses of the C locale=Common uses of the C locale
5 Common uses of C++ locales=Common uses of Cplusplus locales
5 The relationship between the C locale and the C++ locale=The relationship between the C locale and the Cplusplus locale
5 The locale object=The locale object
4 Facets
5 Understanding facet types=Understanding facet types
5 Facet lifetimes=Facet lifetimes
5 Accessing a locale's facets=Accessing a locales facets
5 Using a stream's facet=Using a streams facet
5 Modifying a standard facet's behavior=Modifying a standard facets behavior
5 Creating a new base facet class=Creating a new base facet class
4 Building your own facet class
5 An example of formatting phone numbers=An example of formatting phone numbers
5 A phone number class=A phone number class
5 A phone number formatting facet class=A phone number formatting facet class
5 An inserter for phone numbers=An inserter for phone numbers
5 The phone number facet class revisited=The phone number facet class revisited
5 Adding data members=Adding data members
5 Adding country codes=Adding country codes
5 An example of a derived facet class=An example of a derived facet class
5 Using phone number facets=Using phone number facets
5 Formatting phone numbers=Formatting phone numbers
5 Improving the inserter function=Improving the inserter function
5 Primitive caching=Primitive caching
5 Registration of a callback function=Registration of a callback function
5 Improving the inserter=Improving the inserter
3 Part III: Iostreams
4 The architecture of iostreams
5 Overview: Standard iostreams=Overview Standard iostreams
5 Type safety=Type safety
5 Extensibility to new types=Extensibility to new types
5 How do the standard iostreams work?=How do the standard iostreams work?
5 The iostream layers=The iostream layers
5 The formatting layer=The formatting layer
5 The transport layer=The transport layer
5 Locales=Locales
5 File and in-memory I/O=File and in-memory IO
5 How do the standard iostreams help solve problems?=How do the standard iostreams help solve problems?
5 The internal structure of the iostreams layers=The internal structure of the iostreams layers
5 The internal structure of the formatting layer=The internal structure of the formatting layer
5 Iostreams base class ios_base=Iostreams base class ios_base
5 The iostreams character type-dependent base class=The iostreams character type-dependent base class
5 Character traits=Character traits
5 The input and output streams=The input and output streams
5 The file streams=The file streams
5 The string streams=The string streams
5 The transport layer抯 internal structure=The transport layers internal structure
5 The stream buffer=The stream buffer
5 The file buffer=The file buffer
5 The string stream buffer=The string stream buffer
5 Collaboration of streams and stream buffers=Collaboration of streams and stream buffers
5 Collaboration of locales and iostreams=Collaboration of locales and iostreams
4 Formatted input and output
5 The predefined streams=The predefined streams
5 Input and output operators=Input and output operators
5 Format control using the stream抯 format state
6 Format parameters=Format parameters
6 Parameters that can have an arbitrary value=Parameters that can have an arbitrary value
6 Parameters that can have only a few different values=Parameters that can have only a few different values
6 Manipulators=Manipulators
4 Localization using the stream抯 locale=Localization using the streams locale
4 Formatted Input=Formatted Input
4 Skipping characters=Skipping characters
4 Input of strings=Input of strings
4 Error state of streams
5 About flags=About flags
5 Checking the stream state=Checking the stream state
5 Catching exceptions=Catching exceptions
4 File input and output
5 About file streams=About file streams
5 The difference between predefined streams and file streams=The difference between predefined streams and file streams
5 Code conversion in wide character streams=Code conversion in wide character streams
5 Working with file streams
6 Creating and opening file stream objects=Creating and opening file stream objects
4 Checking a file stream抯 status=Checking a file streams status
4 Closing a file stream=Closing a file stream
5 The open mode=The open mode
5 The open mode flags=The open mode flags
5 The in and out open modes=The in and out open modes
5 The open modes ate, app, and trunc=The open modes ate, app, and trunc
5 Combining open modes=Combining open modes
5 Default open modes=Default open modes
5 Binary and text mode=Binary and text mode
5 File positioning=File positioning
5 How positioning works with the iostream architecture=How positioning works with the iostream architecture
4 Input and output in memory
5 About stringstreams=About stringstreams
5 The internal buffer=The internal buffer
5 The open modes=The open modes
4 Input and output of user types
5 A note on user-defined types=A note on user-defined types
5 An example with a user-defined type=An example with a user-defined type
5 A simple extractor and inserter for the example=A simple extractor and inserter for the example
5 Improved extractors and inserters=Improved extractors and inserters
5 More improved extractors and inserters=More improved extractors and inserters
5 Applying the recommendations to the example=Applying the recommendations to the example
5 Additional notes on inserters and extractors=Additional notes on inserters and extractors
5 Patterns for extractors and inserters of user-defined types=Patterns for extractors and inserters of user-defined types
4 Manipulators
5 A recap of manipulators=A recap of manipulators
5 Manipulators without parameters=Manipulators without parameters
5 Examples of manipulators without parameters=Examples of manipulators without parameters
5 A remark on the manipulator endl=A remark on the manipulator endl
5 Manipulators with parameters=Manipulators with parameters
5 The standard manipulators=The standard manipulators
5 The principle of manipulators with parameters=The principle of manipulators with parameters
5 Examples of manipulators with parameters=Examples of manipulators with parameters
4 Streams and stream buffers
5 Streams as objects=Streams as objects
5 Copying and assigning stream objects=Copying and assigning stream objects
5 Copying a stream's data members=Copying a streams data members
5 Using pointers or references to streams=Using pointers or references to streams
5 Sharing a stream buffer among streams=Sharing a stream buffer among streams
5 Several format settings for the same stream=Several format settings for the same stream
5 Several locales for the same stream=Several locales for the same stream
5 Input and output to the same stream=Input and output to the same stream
5 Copies of the stream buffer=Copies of the stream buffer
4 Synchronizing streams
5 Sharing files among streams=Sharing files among streams
5 Explicit synchronization=Explicit synchronization
5 Output streams=Output streams
5 Input streams=Input streams
5 Implicit synchronization using the unitbuf format flag=Implicit synchronization using the unitbuf format flag
5 Implicit synchronization by tying streams=Implicit synchronization by tying streams
5 Synchronizing the predefined standard streams=Synchronizing the predefined standard streams
5 Synchronization with the C standard i/o=Synchronization with the C standard io
4 Stream storage for private use
5 Adding data to a stream=Adding data to a stream
5 An example: storing a date format string=An example storing a date format string
5 Another look at the date format string=Another look at the date format string
5 Caveat=Caveat
4 Registration of callback functions
5 Defining callback functions=Defining callback functions
5 An example=An example
4 Creating new stream classes by derivation
5 Deriving a new stream type=Deriving a new stream type
5 Choosing a base class=Choosing a base class
5 Construction and initialization=Construction and initialization
5 Derivation from file stream or string stream classes like (i/o)fstream<> or (i/o)stringstream<>=iostream derivation
5 Derivation from the stream classes basic_(i/o)stream<>=iostream derivation from the stream classes
5 The derived stream class=The derived stream class
5 The date inserter=The date inserter
5 The manipulator=The manipulator
5 A remark on performance=A remark on performance
5 Using iword/pword for rtti in derived streams=Using iword pword for rtti in derived streams
4 Stream buffers
5 Class streambuf: the sequence abstraction=Class streambuf the sequence abstraction
5 The streambuf hierarchy=The streambuf hierarchy
5 The streambuf interface=The streambuf interface
5 Deriving new stream buffer classes=Deriving new stream buffer classes
5 Connecting iostream and streambuf objects=Connecting iostream and streambuf objects
4 Defining a code conversion facet
5 Overview: Defining a code conversion facet=Overview Defining a code conversion facet
5 Categories of code conversions=Categories of code conversions
5 Example 1: Defining a Tiny Character Code Conversion (ASCII <-> EBCDIC)=example defining a tiny character code conversion
6 Derive a new facet type=Derive a new facet type
6 Specialize the new facet type and implement the member functions=Specialize the new facet type and implement the member functions
6 Applying the new code conversion facet=Applying the new code conversion facet to example 1
6 Error indication in code conversion facets=Error indication in code conversion facets
5 Example 2: Defining a multibyte character code conversion (JIS <-> Unicode)=example defining a multibyte character code conversion
6 Define a new conversion state type=Define a new conversion state type
6 Define a new character traits type=Define a new character traits type
6 Define the code conversion facet=Define the code conversion facet
6 Applying the new code conversion facet=Applying the new code conversion facet to example 2
4 Defining your own character types
5 User-defined character types=User-defined character types
5 Requirements for user-defined character types=Requirements for user-defined character types
5 Defining traits and facets for user-defined types=Defining traits and facets for user-defined types
5 Creating and using streams instantiated on user-defined types=Creating and using streams instantiated on user-defined types
4 Locales
5 Locales and Iostreams=Locales and Iostreams
5 When to imbue a new locale=When to imbue a new locale
5 Example: imbuing a new locale on a stream=Example imbuing a new locale on a stream
4 Stream iterators
5 Stream iterators defined=Stream iterators defined
5 Differences between stream iterators and container iterators=Differences between stream iterators and container iterators
5 Error indication by stream iterators=Error indication by stream iterators
5 Several iterators on one stream=Several iterators on one stream
4 Iostreams and multithreading
5 Multithread-Safe: Level 2=Multithread Safe Level 2
5 The locking mechanism=The locking mechanism
5 Protecting the buffer=Protecting the buffer
5 Locking several stream operations=Locking several stream operations
5 The location of locks=The location of locks
4 Standard versus traditional iostreams
5 The character type=The character type
5 Internationalization=Internationalization
5 Connecting files and streams=Connecting files and streams
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -