c++ Programming Glossary: input_generator
How to copy a certain number of chars from a file to a vector the STL-way? http://stackoverflow.com/questions/3829885/how-to-copy-a-certain-number-of-chars-from-a-file-to-a-vector-the-stl-way could use std generate_n . template typename InIt struct input_generator typedef std iterator_traits InIt value_type value_type input_generator.. typedef std iterator_traits InIt value_type value_type input_generator InIt begin InIt end begin_ begin end_ end value_type operator.. 42 std generate_n std back_inserter buffer 42 input_generator std istream_iterator char file input_generator std istream_iterator..
Limiting the range for std::copy with std::istream_iterator http://stackoverflow.com/questions/5953629/limiting-the-range-for-stdcopy-with-stdistream-iterator char typename CharTraitsT std char_traits CharT struct input_generator typedef ResultT result_type explicit input_generator std basic_istream.. input_generator typedef ResultT result_type explicit input_generator std basic_istream CharT CharTraitsT input input_ input ResultT.. ResultT typename CharT typename CharTraitsT inline input_generator ResultT CharT CharTraitsT make_input_generator std basic_istream..
|