SYMBOL INDEX (1172 symbols across 531 files) FILE: .tools/dir_handler.rb class DirHandler (line 1) | class DirHandler method initialize (line 4) | def initialize dir, extension method on_each_line! (line 8) | def on_each_line! method list_paths_recursively (line 17) | def list_paths_recursively dir, extension method write_back (line 21) | def write_back filename, content FILE: .tools/format.rb class Format (line 3) | class Format method initialize (line 6) | def initialize dir, extensions method for_commas (line 15) | def for_commas method for_curly_brackets (line 26) | def for_curly_brackets method each_line! (line 31) | def each_line! method for_pairs (line 37) | def for_pairs open, close FILE: .tools/remove_blank_tails.rb class RemoveBlankTails (line 8) | class RemoveBlankTails method initialize (line 10) | def initialize dir, extension method perform (line 14) | def perform FILE: .tools/remover.rb class Remover (line 9) | class Remover method initialize (line 12) | def initialize method perform_on (line 17) | def perform_on filename FILE: ch01/ex1_1.cpp function main (line 1) | int main() FILE: ch01/ex1_10.cpp function main (line 5) | int main() FILE: ch01/ex1_11.cpp function print_range (line 7) | void print_range(int low, int high) { function main (line 17) | int main() { FILE: ch01/ex1_16.cpp function main (line 5) | int main() FILE: ch01/ex1_20.cpp function main (line 8) | int main() FILE: ch01/ex1_21.cpp function main (line 9) | int main() FILE: ch01/ex1_22.cpp function main (line 4) | int main() FILE: ch01/ex1_23.cpp function main (line 4) | int main() FILE: ch01/ex1_9.cpp function sum (line 5) | auto sum(int lo, int hi) function main (line 12) | int main() FILE: ch02/ex2_34.cpp function main (line 3) | int main() FILE: ch02/ex2_35.cpp function main (line 4) | int main() FILE: ch02/ex2_4.cpp function main (line 3) | int main() FILE: ch02/ex2_42.h type Sales_data (line 7) | struct Sales_data function CalcRevenue (line 20) | void Sales_data::CalcRevenue(double price) function SetData (line 25) | void Sales_data::SetData(Sales_data data) function AddData (line 32) | void Sales_data::AddData(Sales_data data) function CalcAveragePrice (line 39) | double Sales_data::CalcAveragePrice() function Print (line 47) | void Sales_data::Print() FILE: ch02/ex2_42_1.cpp function main (line 4) | int main() FILE: ch02/ex2_42_2.cpp function main (line 4) | int main() FILE: ch02/ex2_42_3.cpp function main (line 4) | int main() FILE: ch03/ex3_10.cpp function main (line 11) | int main() FILE: ch03/ex3_14.cpp function main (line 12) | int main() FILE: ch03/ex3_15.cpp function main (line 13) | int main() FILE: ch03/ex3_16.cpp function main (line 19) | int main() FILE: ch03/ex3_17.cpp function main (line 20) | int main() FILE: ch03/ex3_18.cpp function main (line 3) | int main() FILE: ch03/ex3_19.cpp function main (line 13) | int main() FILE: ch03/ex3_1a.cpp function main (line 8) | int main() FILE: ch03/ex3_1b.cpp function main (line 10) | int main() FILE: ch03/ex3_20a.cpp function main (line 6) | int main() FILE: ch03/ex3_20b.cpp function main (line 9) | int main() FILE: ch03/ex3_21.cpp function check_and_print (line 15) | void check_and_print(const vector& vec) function check_and_print (line 23) | void check_and_print(const vector& vec) function main (line 32) | int main() FILE: ch03/ex3_22.cpp function main (line 15) | int main() FILE: ch03/ex3_23.cpp function main (line 13) | int main() FILE: ch03/ex3_24.cpp function main (line 6) | int main() FILE: ch03/ex3_25.cpp function main (line 6) | int main() FILE: ch03/ex3_2a.cpp function main (line 11) | int main() FILE: ch03/ex3_2b.cpp function main (line 10) | int main() FILE: ch03/ex3_31.cpp function main (line 4) | int main() FILE: ch03/ex3_32.cpp function main (line 5) | int main() FILE: ch03/ex3_35.cpp function main (line 4) | int main() FILE: ch03/ex3_36.cpp function compare (line 8) | bool compare(int* const pb1, int* const pe1, int* const pb2, int* const ... function main (line 21) | int main() FILE: ch03/ex3_39.cpp function main (line 6) | int main() FILE: ch03/ex3_40.cpp function main (line 10) | int main() FILE: ch03/ex3_41.cpp function main (line 5) | int main() FILE: ch03/ex3_42.cpp function main (line 5) | int main() FILE: ch03/ex3_43.cpp function main (line 4) | int main() FILE: ch03/ex3_44.cpp function main (line 4) | int main() FILE: ch03/ex3_45.cpp function main (line 4) | int main() FILE: ch03/ex3_4a.cpp function main (line 10) | int main() FILE: ch03/ex3_4b.cpp function main (line 11) | int main() FILE: ch03/ex3_5a.cpp function main (line 11) | int main() FILE: ch03/ex3_5b.cpp function main (line 10) | int main() FILE: ch03/ex3_6.cpp function main (line 10) | int main() FILE: ch03/ex3_8.cpp function main (line 7) | int main() FILE: ch04/ex4_21.cpp function main (line 8) | int main() FILE: ch04/ex4_22.cpp function main (line 4) | int main() FILE: ch04/ex4_28.cpp function main (line 3) | int main() FILE: ch05/ex5_10.cpp function main (line 4) | int main() FILE: ch05/ex5_11.cpp function main (line 5) | int main() FILE: ch05/ex5_12.cpp function main (line 5) | int main() FILE: ch05/ex5_14.cpp function main (line 6) | int main() FILE: ch05/ex5_17.cpp function is_prefix (line 6) | bool is_prefix(vector const& lhs, vector const& rhs) function main (line 15) | int main() FILE: ch05/ex5_19.cpp function main (line 6) | int main() FILE: ch05/ex5_20.cpp function main (line 5) | int main() FILE: ch05/ex5_21.cpp function main (line 11) | int main() FILE: ch05/ex5_23.cpp function main (line 6) | int main() FILE: ch05/ex5_24.cpp function main (line 11) | int main(void) FILE: ch05/ex5_25.cpp function main (line 5) | int main(void) FILE: ch05/ex5_5.cpp function main (line 6) | int main() FILE: ch05/ex5_6.cpp function main (line 6) | int main() FILE: ch05/ex5_9.cpp function main (line 5) | int main() FILE: ch06/ex6_10.cpp function swap (line 12) | void swap(int* lhs, int* rhs) function main (line 20) | int main() FILE: ch06/ex6_11.cpp function reset (line 3) | void reset(int &i) function main (line 8) | int main() FILE: ch06/ex6_12.cpp function swap (line 13) | void swap(int& lhs, int& rhs) function main (line 20) | int main() FILE: ch06/ex6_17.cpp function any_capital (line 5) | bool any_capital(string const& str) function to_lowercase (line 12) | void to_lowercase(string& str) function main (line 17) | int main() FILE: ch06/ex6_21.cpp function larger_one (line 12) | int larger_one(const int i, const int *const p) function main (line 17) | int main() FILE: ch06/ex6_22.cpp function swap (line 9) | void swap(int*& lft, int*& rht) function main (line 16) | int main() FILE: ch06/ex6_23.cpp function print (line 4) | void print(const int *pi) function print (line 10) | void print(const char *p) function print (line 17) | void print(const int *beg, const int *end) function print (line 23) | void print(const int ia[], size_t size) function print (line 30) | void print(int (&arr)[2]) function main (line 36) | int main() FILE: ch06/ex6_25_26.cpp function main (line 13) | int main(int argc, char **argv) FILE: ch06/ex6_27.cpp function sum (line 4) | int sum(std::initializer_list const& il) function main (line 11) | int main(void) FILE: ch06/ex6_33.cpp function print (line 6) | void print(Iter first, Iter last) function main (line 15) | int main() FILE: ch06/ex6_42.cpp function string (line 19) | string make_plural(size_t ctr, const string& word, const string& ending ... function main (line 24) | int main() FILE: ch06/ex6_44.cpp function is_shorter (line 9) | inline bool is_shorter(const string &lft, const string &rht) // defining... function main (line 14) | int main() FILE: ch06/ex6_47.cpp function printVec (line 14) | void printVec(vector &vec) function main (line 28) | int main() FILE: ch06/ex6_51.cpp function f (line 4) | void f() function f (line 9) | void f(int) function f (line 14) | void f(int, int) function f (line 19) | void f(double, double) function main (line 24) | int main() FILE: ch06/ex6_54_55_56.cpp function NumAdd (line 33) | inline int NumAdd(const int n1, const int n2) { return n1 + n2; } function NumSub (line 34) | inline int NumSub(const int n1, const int n2) { return n1 - n2; } function NumMul (line 35) | inline int NumMul(const int n1, const int n2) { return n1 * n2; } function NumDiv (line 36) | inline int NumDiv(const int n1, const int n2) { return n1 / n2; } function main (line 40) | int main() FILE: ch06/fact.cc function fact (line 4) | int fact(int val) function func (line 10) | int func() FILE: ch06/factMain.cc function main (line 4) | int main() FILE: ch07/ex7_01.cpp type Sales_data (line 11) | struct Sales_data function main (line 18) | int main() FILE: ch07/ex7_02.h type Sales_data (line 13) | struct Sales_data { FILE: ch07/ex7_03.cpp function main (line 12) | int main() FILE: ch07/ex7_04.h function class (line 13) | class Person { FILE: ch07/ex7_05.h function class (line 19) | class Person FILE: ch07/ex7_06.h type Sales_data (line 14) | struct Sales_data { function Sales_data (line 46) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_07.cpp function main (line 10) | int main() FILE: ch07/ex7_09.h type Person (line 17) | struct Person FILE: ch07/ex7_11.cpp function main (line 10) | int main() FILE: ch07/ex7_11.h type Sales_data (line 14) | struct Sales_data { function Sales_data (line 43) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_12.h type Sales_data (line 14) | struct Sales_data function isbn (line 17) | struct Sales_data { function Sales_data (line 54) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_13.cpp function main (line 10) | int main() FILE: ch07/ex7_15.h type Person (line 14) | struct Person function getName (line 17) | struct Person { FILE: ch07/ex7_21.h function class (line 14) | class Sales_data { function Sales_data (line 57) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_22.h function class (line 14) | class Person { FILE: ch07/ex7_23.h function class (line 13) | class Screen { function get (line 21) | char get(pos r, pos c) const { return contents[r*width+c]; } FILE: ch07/ex7_24.h function class (line 13) | class Screen { function get (line 22) | char get(pos r, pos c) const { return contents[r*width+c]; } FILE: ch07/ex7_26.cpp function Sales_data (line 13) | Sales_data& Sales_data::combine(const Sales_data& rhs) function Sales_data (line 35) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_26.h function class (line 16) | class Sales_data { FILE: ch07/ex7_27.h function class (line 14) | class Screen { function get (line 23) | char get(pos r, pos c) const { return contents[r*width+c]; } function Screen (line 28) | const Screen& display(std::ostream &os) const { do_display(os); return *... function Screen (line 40) | inline Screen& Screen::move(pos r, pos c) function Screen (line 46) | inline Screen& Screen::set(char c) function Screen (line 52) | inline Screen& Screen::set(pos r, pos c, char ch) FILE: ch07/ex7_27_TEST.cpp function main (line 10) | int main() FILE: ch07/ex7_31.h function class (line 13) | class X { function class (line 17) | class Y { FILE: ch07/ex7_32.h function class (line 18) | class Window_mgr { function class (line 26) | class Screen { function get (line 36) | char get(pos r, pos c) const { return contents[r*width+c]; } function Screen (line 41) | const Screen& display(std::ostream &os) const { do_display(os); return *... function clear (line 53) | inline void Window_mgr::clear(ScreenIndex i) function Screen (line 60) | inline Screen& Screen::move(pos r, pos c) function Screen (line 66) | inline Screen& Screen::set(char c) function Screen (line 72) | inline Screen& Screen::set(pos r, pos c, char ch) FILE: ch07/ex7_41.cpp function Sales_data (line 20) | Sales_data& Sales_data::combine(const Sales_data& rhs) function Sales_data (line 42) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch07/ex7_41.h function class (line 17) | class Sales_data { FILE: ch07/ex7_41_TEST.cpp function main (line 11) | int main() FILE: ch07/ex7_43.cpp class NoDefault (line 10) | class NoDefault { method NoDefault (line 12) | NoDefault(int i) { } class C (line 15) | class C { method C (line 17) | C() : def(0) { } function main (line 22) | int main() FILE: ch07/ex7_50.h function getName (line 16) | struct Person { FILE: ch07/ex7_53.h function class (line 11) | class Debug { function set_rt (line 17) | void set_rt(bool b) { rt = b; } function set_io (line 18) | void set_io(bool b) { io = b; } function set_other (line 19) | void set_other(bool b) { other = b; } FILE: ch07/ex7_57.h function class (line 13) | class Account { FILE: ch08/ex8_02.cpp function istream (line 12) | istream& func(istream &is) function main (line 21) | int main() FILE: ch08/ex8_04.cpp function ReadFileToVec (line 17) | void ReadFileToVec(const string& fileName, vector& vec) function main (line 28) | int main() FILE: ch08/ex8_05.cpp function ReadFileToVec (line 17) | void ReadFileToVec(const string& fileName, vector& vec) function main (line 28) | int main() FILE: ch08/ex8_06.cpp function main (line 20) | int main(int argc, char **argv) FILE: ch08/ex8_07.cpp function main (line 18) | int main(int argc, char **argv) FILE: ch08/ex8_08.cpp function main (line 18) | int main(int argc, char **argv) FILE: ch08/ex8_09.cpp function istream (line 14) | istream& func(istream &is) function main (line 23) | int main() FILE: ch08/ex8_10.cpp function main (line 18) | int main() FILE: ch08/ex8_11.cpp type PersonInfo (line 17) | struct PersonInfo { function main (line 22) | int main() FILE: ch08/ex8_13.cpp type PersonInfo (line 21) | struct PersonInfo { function valid (line 26) | bool valid(const string& str) function string (line 31) | string format(const string& str) function main (line 36) | int main() FILE: ch09/ex9_13.cpp function main (line 15) | int main() FILE: ch09/ex9_14.cpp function main (line 13) | int main() FILE: ch09/ex9_15.cpp function main (line 12) | int main() FILE: ch09/ex9_16.cpp function main (line 18) | int main() FILE: ch09/ex9_18.cpp function main (line 16) | int main() FILE: ch09/ex9_19.cpp function main (line 17) | int main() FILE: ch09/ex9_20.cpp function main (line 15) | int main() FILE: ch09/ex9_22.cpp function double_and_insert (line 4) | void double_and_insert(std::vector& v, int some_val) function main (line 12) | int main() FILE: ch09/ex9_24.cpp function main (line 10) | int main() FILE: ch09/ex9_26.cpp function main (line 16) | int main() FILE: ch09/ex9_27.cpp function remove_odds (line 19) | auto remove_odds(forward_list& flist) function main (line 25) | int main() FILE: ch09/ex9_31_1.cpp function remove_evens_and_double_odds (line 22) | auto remove_evens_and_double_odds(list& data) function main (line 31) | int main() FILE: ch09/ex9_31_2.cpp function remove_evens_and_double_odds (line 21) | auto remove_evens_and_double_odds(forward_list& data) function main (line 32) | int main() FILE: ch09/ex9_32.cpp function main (line 17) | int main() FILE: ch09/ex9_33.cpp function main (line 17) | int main() FILE: ch09/ex9_34.cpp function main (line 31) | int main() FILE: ch09/ex9_38.cpp function main (line 11) | int main() FILE: ch09/ex9_41.cpp function main (line 18) | int main() FILE: ch09/ex9_43.cpp function replace_with (line 27) | auto replace_with(string &s, string const& oldVal, string const& newVal) function main (line 38) | int main() FILE: ch09/ex9_44.cpp function replace_with (line 20) | auto replace_with(string &s, string const& oldVal, string const& newVal) function main (line 30) | int main() FILE: ch09/ex9_45.cpp function add_pre_and_suffix (line 21) | auto add_pre_and_suffix(string name, string const& pre, string const& su) function main (line 27) | int main() FILE: ch09/ex9_46.cpp function add_pre_and_suffix (line 17) | auto add_pre_and_suffix(std::string name, std::string const& pre, std::s... function main (line 24) | int main() FILE: ch09/ex9_47_1.cpp function main (line 20) | int main() FILE: ch09/ex9_47_2.cpp function main (line 18) | int main() FILE: ch09/ex9_49.cpp function main (line 22) | int main() FILE: ch09/ex9_50.cpp function sum_for_int (line 13) | auto sum_for_int(std::vector const& v) function sum_for_float (line 21) | auto sum_for_float(std::vector const& v) function main (line 29) | int main() FILE: ch09/ex9_51.cpp class My_date (line 18) | class My_date{ method My_date (line 22) | My_date(const string &s){ method print (line 80) | void print(){ function main (line 84) | int main() FILE: ch09/ex9_52.cpp function main (line 19) | int main() FILE: ch10/ex10_01_02.cpp function main (line 24) | int main() FILE: ch10/ex10_03_04.cpp function main (line 20) | int main() FILE: ch10/ex10_06.cpp function main (line 15) | int main() FILE: ch10/ex10_07.cpp function print (line 17) | void print(Sequence const& seq) function main (line 24) | int main() FILE: ch10/ex10_09.cpp function println (line 18) | auto println(Sequence const& seq) -> std::ostream& function eliminate_duplicates (line 25) | auto eliminate_duplicates(std::vector &vs) -> std::vector &vs) function main (line 41) | int main() FILE: ch10/ex10_12.cpp function compareIsbn (line 13) | inline bool compareIsbn(const Sales_data &sd1, const Sales_data &sd2) function main (line 18) | int main() FILE: ch10/ex10_13.cpp function predicate (line 19) | bool predicate(const std::string &s) function main (line 24) | int main() FILE: ch10/ex10_16.cpp function elimdups (line 15) | void elimdups(std::vector &vs) function biggies (line 22) | void biggies(std::vector &vs, std::size_t sz) function main (line 44) | int main() FILE: ch10/ex10_17.cpp function main (line 15) | int main() FILE: ch10/ex10_18_19.cpp function elimdups (line 21) | void elimdups(std::vector &vs) function biggies_partition (line 30) | void biggies_partition(std::vector &vs, std::size_t sz) function biggies_stable_partition (line 44) | void biggies_stable_partition(std::vector &vs, std::size_t sz) function main (line 57) | int main() FILE: ch10/ex10_20_21.cpp function bigerThan6 (line 30) | std::size_t bigerThan6(vector const& v) function main (line 38) | int main() FILE: ch10/ex10_22.cpp function isLesserThanOrEqualTo6 (line 20) | bool isLesserThanOrEqualTo6(const string &s, string::size_type sz) function main (line 25) | int main() FILE: ch10/ex10_24.cpp function check_size (line 26) | auto check_size(string const& str, size_t sz) function main (line 31) | int main() FILE: ch10/ex10_25.cpp function elimdups (line 19) | void elimdups(vector &vs) function check_size (line 25) | bool check_size(const string &s, string::size_type sz) function biggies (line 30) | void biggies(vector &words, vector::size_type sz) function main (line 37) | int main() FILE: ch10/ex10_27.cpp function main (line 18) | int main() FILE: ch10/ex10_28.cpp function print (line 21) | void print(Sequence const& seq) function main (line 28) | int main() FILE: ch10/ex10_29.cpp function main (line 18) | int main() FILE: ch10/ex10_30.cpp function main (line 16) | int main() FILE: ch10/ex10_31.cpp function main (line 16) | int main() FILE: ch10/ex10_32.cpp function compareIsbn (line 19) | bool compareIsbn(const Sales_item &item1, const Sales_item &item2) { function main (line 23) | int main() FILE: ch10/ex10_33.cpp function main (line 19) | int main(int argc, char **argv) FILE: ch10/ex10_34_35_36_37.cpp function main (line 23) | int main() FILE: ch10/ex10_42.cpp function elimDups (line 14) | void elimDups(list &words) function main (line 20) | int main() FILE: ch11/ex11_11.cpp function less (line 14) | auto less(Sales_data const& lhs, Sales_data const& rhs) function main (line 19) | int main() FILE: ch11/ex11_12_13.cpp function main (line 19) | int main() FILE: ch11/ex11_14.cpp class Families (line 30) | class Families method add (line 37) | auto add(string const& last_name, string const& first_name, string bir... method print (line 43) | auto print() const function main (line 58) | int main() FILE: ch11/ex11_20.cpp function main (line 18) | int main() FILE: ch11/ex11_23.cpp function main (line 19) | int main() FILE: ch11/ex11_24_25_26.cpp function main (line 27) | int main() FILE: ch11/ex11_27_28_29_30.cpp function main (line 41) | int main() FILE: ch11/ex11_31.cpp function main (line 17) | int main() FILE: ch11/ex11_32.cpp function main (line 16) | int main() FILE: ch11/ex11_33.cpp function buildMap (line 17) | std::map buildMap(ifstream &map_file) function string (line 25) | const string & transform(const string &s, const std::map... function word_transform (line 31) | void word_transform(ifstream &map, ifstream &input) function main (line 42) | int main() FILE: ch11/ex11_38.cpp function wordCounting (line 18) | void wordCounting() function wordTransformation (line 26) | void wordTransformation() function main (line 45) | int main() FILE: ch11/ex11_3_4.cpp function count (line 25) | auto count() function strip (line 33) | auto strip(string& str) -> string const& function strip_and_count (line 41) | auto strip_and_count() function print (line 48) | auto print(Map const& m) function main (line 54) | int main() FILE: ch11/ex11_7.cpp function make_families (line 22) | auto make_families() function print (line 31) | auto print(Families const& families) function main (line 42) | int main() FILE: ch11/ex11_8.cpp function main (line 30) | int main() FILE: ch11/ex11_9_10.cpp function main (line 20) | int main() FILE: ch12/ex12_02.h function class (line 17) | class StrBlob { FILE: ch12/ex12_02_TEST.cpp function main (line 4) | int main() FILE: ch12/ex12_06.cpp function make_dynamically (line 23) | auto make_dynamically() function populate (line 28) | auto populate(Ptr vec) function print (line 34) | auto print(Ptr vec) -> std::ostream& function main (line 40) | int main() FILE: ch12/ex12_07.cpp function make_with_shared_ptr (line 26) | auto make_with_shared_ptr() function populate (line 31) | auto populate(Sptr vec) function print (line 37) | auto print(Sptr vec) -> std::ostream& function main (line 43) | int main() FILE: ch12/ex12_10.cpp function process (line 16) | void process(std::shared_ptr ptr) function main (line 21) | int main() FILE: ch12/ex12_11.cpp function process (line 18) | void process(std::shared_ptr ptr) function main (line 23) | int main() FILE: ch12/ex12_12.cpp function process (line 22) | void process(std::shared_ptr ptr) function main (line 27) | int main() FILE: ch12/ex12_13.cpp function main (line 11) | int main() FILE: ch12/ex12_14.cpp type connection (line 13) | struct connection { method connection (line 16) | connection(std::string ip_, int port_):ip(ip_), port(port_){ } type destination (line 18) | struct destination { method destination (line 21) | destination(std::string ip_, int port_):ip(ip_), port(port_){ } function connection (line 24) | connection connect(destination* pDest) method connection (line 16) | connection(std::string ip_, int port_):ip(ip_), port(port_){ } function disconnect (line 31) | void disconnect(connection pConn) function end_connection (line 36) | void end_connection(connection *pConn) function f (line 41) | void f(destination &d) function main (line 48) | int main() FILE: ch12/ex12_15.cpp type connection (line 13) | struct connection { method connection (line 16) | connection(std::string ip_, int port_):ip(ip_), port(port_){ } type destination (line 18) | struct destination { method destination (line 21) | destination(std::string ip_, int port_):ip(ip_), port(port_){ } function connection (line 24) | connection connect(destination* pDest) method connection (line 16) | connection(std::string ip_, int port_):ip(ip_), port(port_){ } function disconnect (line 31) | void disconnect(connection pConn) function f (line 36) | void f(destination &d) function main (line 43) | int main() FILE: ch12/ex12_16.cpp function main (line 17) | int main() FILE: ch12/ex12_17_18.cpp function main (line 27) | int main() FILE: ch12/ex12_19.cpp function StrBlobPtr (line 14) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 18) | StrBlobPtr StrBlob::end() FILE: ch12/ex12_19.h function class (line 24) | class StrBlob { function class (line 72) | class StrBlobPtr { FILE: ch12/ex12_20.cpp function main (line 14) | int main() FILE: ch12/ex12_22.cpp function ConstStrBlobPtr (line 10) | ConstStrBlobPtr StrBlob::begin() const // should add const function ConstStrBlobPtr (line 14) | ConstStrBlobPtr StrBlob::end() const // should add const FILE: ch12/ex12_22.h function class (line 26) | class StrBlob { function class (line 74) | class ConstStrBlobPtr { FILE: ch12/ex12_23.cpp function main (line 14) | int main() FILE: ch12/ex12_24.cpp function main (line 14) | int main() FILE: ch12/ex12_26.cpp function input_reverse_output_string (line 13) | void input_reverse_output_string(int n) function main (line 30) | int main() FILE: ch12/ex12_27_30.cpp function QueryResult (line 31) | QueryResult TextQuery::query(const string& str) const FILE: ch12/ex12_27_30.h function class (line 28) | class TextQuery { function class (line 38) | class QueryResult { FILE: ch12/ex12_27_30_TEST.cpp function runQueries (line 13) | void runQueries(std::ifstream &infile) function main (line 24) | int main() FILE: ch12/ex12_28.cpp function main (line 28) | int main() FILE: ch12/ex12_32.cpp function QueryResult (line 31) | QueryResult TextQuery::query(const string& str) const FILE: ch12/ex12_32.h function class (line 22) | class TextQuery { function class (line 31) | class QueryResult { FILE: ch12/ex12_32_TEST.cpp function runQueries (line 13) | void runQueries(std::ifstream &infile) function main (line 24) | int main() FILE: ch12/ex12_33.cpp function QueryResult (line 31) | QueryResult TextQuery::query(const string& str) const FILE: ch12/ex12_33.h function class (line 25) | class TextQuery { function class (line 34) | class QueryResult { FILE: ch12/ex12_33_TEST.cpp function runQueries (line 13) | void runQueries(std::ifstream &infile) function main (line 24) | int main() FILE: ch13/ex13_05.h function class (line 16) | class HasPtr { FILE: ch13/ex13_08.h function class (line 17) | class HasPtr { FILE: ch13/ex13_11.h function class (line 16) | class HasPtr { FILE: ch13/ex13_13.cpp type X (line 23) | struct X { method X (line 24) | X() { std::cout << "X()" << std::endl; } method X (line 25) | X(const X&) { std::cout << "X(const X&)" << std::endl; } method X (line 26) | X& operator=(const X&) { std::cout << "X& operator=(const X&)" << std:... function f (line 30) | void f(const X &rx, X x) function main (line 38) | int main() FILE: ch13/ex13_17_1.cpp class numbered (line 15) | class numbered { method numbered (line 17) | numbered() { function f (line 27) | void f(numbered s) { function main (line 31) | int main() FILE: ch13/ex13_17_2.cpp class numbered (line 15) | class numbered { method numbered (line 17) | numbered() { method numbered (line 21) | numbered(const numbered& n) { function f (line 31) | void f(numbered s) { function main (line 35) | int main() FILE: ch13/ex13_17_3.cpp class numbered (line 15) | class numbered { method numbered (line 17) | numbered() { method numbered (line 21) | numbered(const numbered& n) { function f (line 31) | void f(const numbered& s) { function main (line 35) | int main() FILE: ch13/ex13_18.cpp function main (line 26) | int main() FILE: ch13/ex13_18.h function class (line 19) | class Employee { FILE: ch13/ex13_19.h function class (line 19) | class Employee { FILE: ch13/ex13_22.h function class (line 20) | class HasPtr { FILE: ch13/ex13_26.cpp function ConstStrBlobPtr (line 13) | ConstStrBlobPtr StrBlob::begin() const // should add const function ConstStrBlobPtr (line 17) | ConstStrBlobPtr StrBlob::end() const // should add const function StrBlob (line 22) | StrBlob& StrBlob::operator=(const StrBlob& sb) function main (line 28) | int main() FILE: ch13/ex13_26.h function class (line 24) | class StrBlob { function class (line 77) | class ConstStrBlobPtr { FILE: ch13/ex13_27.h function class (line 14) | class HasPtr { FILE: ch13/ex13_28.cpp function TreeNode (line 11) | TreeNode& TreeNode::operator=(const TreeNode &rhs) function BinStrTree (line 26) | BinStrTree& BinStrTree::operator=(const BinStrTree &bst) function main (line 34) | int main() FILE: ch13/ex13_28.h function class (line 15) | class TreeNode { function class (line 35) | class BinStrTree { FILE: ch13/ex13_30.h function class (line 18) | class HasPtr { function swap (line 40) | inline FILE: ch13/ex13_31.cpp function main (line 13) | int main(void) FILE: ch13/ex13_31.h function class (line 20) | class HasPtr function swap (line 45) | void swap(HasPtr &rhs) function swap (line 62) | void swap(HasPtr& lhs, HasPtr& rhs) FILE: ch13/ex13_34_36_37.cpp function swap (line 4) | void swap(Message &lhs, Message &rhs) function Message (line 63) | Message &Message::operator=(const Message &rhs) function swap (line 79) | void swap(Folder &lhs, Folder &rhs) function Folder (line 114) | Folder &Folder::operator=(const Folder &rhs) function main (line 129) | int main() FILE: ch13/ex13_34_36_37.h function class (line 22) | class Message { function class (line 48) | class Folder { FILE: ch13/ex13_39.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function main (line 99) | int main() FILE: ch13/ex13_39.h function class (line 17) | class StrVec FILE: ch13/ex13_40.cpp function StrVec (line 56) | StrVec& StrVec::operator = (const StrVec &rhs) function main (line 108) | int main() FILE: ch13/ex13_40.h function class (line 17) | class StrVec FILE: ch13/ex13_42.cpp function runQueries (line 4) | void runQueries(std::ifstream &infile) function main (line 15) | int main() FILE: ch13/ex13_42_StrVec.cpp function StrVec (line 50) | StrVec& StrVec::operator = (const StrVec &rhs) FILE: ch13/ex13_42_StrVec.h function class (line 8) | class StrVec FILE: ch13/ex13_42_TextQuery.cpp function QueryResult (line 24) | QueryResult TextQuery::query(const string& str) const FILE: ch13/ex13_42_TextQuery.h function class (line 14) | class TextQuery { function class (line 23) | class QueryResult { FILE: ch13/ex13_44_47.cpp function String (line 46) | String& String::operator = (const String &rhs) FILE: ch13/ex13_44_47.h function class (line 6) | class String FILE: ch13/ex13_48.cpp function foo (line 7) | void foo(String x) function bar (line 12) | void bar(const String& x) function String (line 17) | String baz() function main (line 23) | int main() FILE: ch13/ex13_49_Message.cpp function swap (line 4) | void swap(Message &lhs, Message &rhs) function Message (line 65) | Message& Message::operator=(const Message &rhs) function Message (line 99) | Message& Message::operator= (Message &&rhs) function swap (line 113) | void swap(Folder &lhs, Folder &rhs) function Folder (line 161) | Folder& Folder::operator =(const Folder &rhs) function Folder (line 195) | Folder& Folder::operator=(Folder &&rhs) FILE: ch13/ex13_49_Message.h function class (line 15) | class Message function class (line 50) | class Folder { FILE: ch13/ex13_49_StrVec.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function StrVec (line 105) | StrVec& StrVec::operator = (StrVec &&rhs) NOEXCEPT FILE: ch13/ex13_49_StrVec.h function class (line 14) | class StrVec FILE: ch13/ex13_49_String.cpp function String (line 44) | String& String::operator = (const String &rhs) function String (line 58) | String& String::operator = (String &&rhs) NOEXCEPT FILE: ch13/ex13_49_String.h function class (line 12) | class String FILE: ch13/ex13_53.cpp function swap (line 4) | inline void swap(HasPtr &lhs, HasPtr &rhs) function HasPtr (line 28) | HasPtr& HasPtr::operator=(HasPtr rhs) function main (line 40) | int main() FILE: ch13/ex13_53.h function class (line 6) | class HasPtr { FILE: ch13/ex13_53_test.cpp function main (line 3) | int main() FILE: ch13/ex13_58.cpp class Foo (line 7) | class Foo { function Foo (line 15) | Foo Foo::sorted() && { function Foo (line 21) | Foo Foo::sorted() const & { function main (line 35) | int main() FILE: ch14/ex14_02.cpp function Sales_data (line 17) | Sales_data& Sales_data::operator+=(const Sales_data &rhs) function Sales_data (line 41) | Sales_data operator+(const Sales_data &lhs, const Sales_data &rhs) FILE: ch14/ex14_02.h function class (line 16) | class Sales_data { FILE: ch14/ex14_02_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_05.h function class (line 7) | class Book { FILE: ch14/ex14_05_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_07.cpp function String (line 46) | String& String::operator = (const String &rhs) FILE: ch14/ex14_07.h function class (line 7) | class String FILE: ch14/ex14_07_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_13.cpp function Sales_data (line 18) | Sales_data& Sales_data::operator+=(const Sales_data &rhs) function Sales_data (line 26) | Sales_data& Sales_data::operator-=(const Sales_data &rhs) function Sales_data (line 50) | Sales_data operator+(const Sales_data &lhs, const Sales_data &rhs) function Sales_data (line 57) | Sales_data operator-(const Sales_data &lhs, const Sales_data &rhs) FILE: ch14/ex14_13.h function class (line 17) | class Sales_data { FILE: ch14/ex14_13_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_15.cpp function Book (line 35) | Book& Book::operator+=(const Book &rhs) function Book (line 43) | Book operator+(const Book &lhs, const Book &rhs) FILE: ch14/ex14_15.h function class (line 7) | class Book { FILE: ch14/ex14_15_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_16_StrBlob.cpp function StrBlob (line 45) | StrBlob& StrBlob::operator=(const StrBlob &lhs) function StrBlob (line 51) | StrBlob& StrBlob::operator=(StrBlob &&rhs) NOEXCEPT function StrBlobPtr (line 67) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 72) | StrBlobPtr StrBlob::end() function ConstStrBlobPtr (line 77) | ConstStrBlobPtr StrBlob::cbegin() const function ConstStrBlobPtr (line 82) | ConstStrBlobPtr StrBlob::cend() const FILE: ch14/ex14_16_StrBlob.h function class (line 45) | class StrBlob { function check (line 119) | inline void StrBlob::check(size_type i, const string &msg) const function class (line 130) | class StrBlobPtr { function string (line 150) | inline string& StrBlobPtr::deref() const function shared_ptr (line 163) | inline shared_ptr> StrBlobPtr::check(size_t i, const stri... function class (line 177) | class ConstStrBlobPtr { function string (line 195) | inline const string& ConstStrBlobPtr::deref() const function std (line 208) | inline std::shared_ptr> ConstStrBlobPtr::check(size_t i, ... FILE: ch14/ex14_16_StrBlobTest.cpp function main (line 4) | int main() FILE: ch14/ex14_16_StrVec.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function main (line 99) | int main() FILE: ch14/ex14_16_StrVec.h function class (line 14) | class StrVec FILE: ch14/ex14_16_StrVecMain.cpp function main (line 5) | int main() FILE: ch14/ex14_16_String.cpp function String (line 59) | String& String::operator = (const String &rhs) function String (line 74) | String& String::operator = (String &&rhs) NOEXCEPT FILE: ch14/ex14_16_String.h function class (line 13) | class String FILE: ch14/ex14_16_StringMain.cpp function foo (line 8) | void foo(String x) function bar (line 13) | void bar(const String& x) function String (line 18) | String baz() function main (line 24) | int main() FILE: ch14/ex14_18_StrBlob.cpp function StrBlob (line 118) | StrBlob& StrBlob::operator=(const StrBlob &lhs) function StrBlob (line 124) | StrBlob& StrBlob::operator=(StrBlob &&rhs) NOEXCEPT function StrBlobPtr (line 140) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 145) | StrBlobPtr StrBlob::end() function ConstStrBlobPtr (line 150) | ConstStrBlobPtr StrBlob::cbegin() const function ConstStrBlobPtr (line 155) | ConstStrBlobPtr StrBlob::cend() const FILE: ch14/ex14_18_StrBlob.h function class (line 45) | class StrBlob { function check (line 127) | inline void StrBlob::check(size_type i, const string &msg) const function class (line 138) | class StrBlobPtr { function string (line 167) | inline string& StrBlobPtr::deref() const function shared_ptr (line 180) | inline shared_ptr> StrBlobPtr::check(size_t i, const stri... function class (line 194) | class ConstStrBlobPtr { function string (line 223) | inline const string& ConstStrBlobPtr::deref() const function std (line 236) | inline std::shared_ptr> ConstStrBlobPtr::check(size_t i, ... FILE: ch14/ex14_18_StrBlobTest.cpp function main (line 4) | int main() FILE: ch14/ex14_18_StrVec.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function StrVec (line 105) | StrVec& StrVec::operator = (StrVec &&rhs) NOEXCEPT FILE: ch14/ex14_18_StrVec.h function class (line 14) | class StrVec FILE: ch14/ex14_18_StrVecMain.cpp class StrVec (line 14) | class StrVec method StrVec (line 24) | StrVec() : elements(nullptr), first_free(nullptr), cap(nullptr) { } method size (line 33) | size_t size() const { return first_free - elements; } method capacity (line 34) | size_t capacity() const { return cap - elements; } method chk_n_alloc (line 48) | void chk_n_alloc() { if (size() == capacity()) reallocate(); } FILE: ch14/ex14_18_String.cpp function String (line 79) | String& String::operator = (const String &rhs) function String (line 94) | String& String::operator = (String &&rhs) NOEXCEPT FILE: ch14/ex14_18_String.h function class (line 21) | class String FILE: ch14/ex14_18_StringMain.cpp function foo (line 8) | void foo(String x) function bar (line 13) | void bar(const String& x) function String (line 18) | String baz() function main (line 24) | int main() FILE: ch14/ex14_22.cpp function Sales_data (line 8) | Sales_data& Sales_data::operator+=(const Sales_data &rhs) function Sales_data (line 32) | Sales_data operator+(const Sales_data &lhs, const Sales_data &rhs) function Sales_data (line 39) | Sales_data& Sales_data::operator=(const std::string &isbn) FILE: ch14/ex14_22.h function class (line 19) | class Sales_data { FILE: ch14/ex14_22_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_23.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function StrVec (line 105) | StrVec& StrVec::operator = (StrVec &&rhs) NOEXCEPT function StrVec (line 147) | StrVec& StrVec::operator=(std::initializer_list il) FILE: ch14/ex14_23.h function class (line 14) | class StrVec FILE: ch14/ex14_23_TEST.cpp function main (line 5) | int main() FILE: ch14/ex14_24.cpp function Date (line 75) | Date &Date::operator= (const Date &d) function Date (line 85) | Date &Date::operator =(Date&& rhs) NOEXCEPT function Date (line 122) | Date &Date::operator +=(Date::Size offset) function Date (line 128) | Date &Date::operator -=(Date::Size offset) function Date (line 203) | Date operator - (const Date &lhs, Date::Size rhs) function Date (line 213) | Date operator + (const Date &lhs, Date::Size rhs) FILE: ch14/ex14_24.h function class (line 61) | class Date function check (line 153) | inline bool function isLeapYear (line 197) | inline bool FILE: ch14/ex14_24_TEST.cpp function main (line 28) | int main() FILE: ch14/ex14_26_StrBlob.cpp function StrBlob (line 118) | StrBlob& StrBlob::operator=(const StrBlob &lhs) function StrBlob (line 124) | StrBlob& StrBlob::operator=(StrBlob &&rhs) NOEXCEPT function StrBlobPtr (line 140) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 145) | StrBlobPtr StrBlob::end() function ConstStrBlobPtr (line 150) | ConstStrBlobPtr StrBlob::cbegin() const function ConstStrBlobPtr (line 155) | ConstStrBlobPtr StrBlob::cend() const FILE: ch14/ex14_26_StrBlob.h function class (line 45) | class StrBlob { function check (line 130) | inline void StrBlob::check(size_type i, const string &msg) const function string (line 135) | inline string& StrBlob::operator[](size_t n) function string (line 141) | inline const string& StrBlob::operator[](size_t n) const function class (line 153) | class StrBlobPtr { function string (line 185) | inline string& StrBlobPtr::deref() const function shared_ptr (line 198) | inline shared_ptr> StrBlobPtr::check(size_t i, const stri... function string (line 206) | inline string& StrBlobPtr::operator[](size_t n) function string (line 212) | inline const string& StrBlobPtr::operator[](size_t n) const function class (line 224) | class ConstStrBlobPtr { function string (line 255) | inline const string& ConstStrBlobPtr::deref() const function std (line 268) | inline std::shared_ptr> ConstStrBlobPtr::check(size_t i, ... function string (line 276) | inline const string& ConstStrBlobPtr::operator[](size_t n) const FILE: ch14/ex14_26_StrBlobTest.cpp function main (line 4) | int main() FILE: ch14/ex14_26_StrVec.cpp function StrVec (line 47) | StrVec& StrVec::operator = (const StrVec &rhs) function StrVec (line 105) | StrVec& StrVec::operator = (StrVec &&rhs) NOEXCEPT FILE: ch14/ex14_26_StrVec.h function class (line 14) | class StrVec FILE: ch14/ex14_26_StrVecMain.cpp function main (line 5) | int main() FILE: ch14/ex14_26_String.cpp function String (line 79) | String& String::operator = (const String &rhs) function String (line 94) | String& String::operator = (String &&rhs) NOEXCEPT FILE: ch14/ex14_26_String.h function class (line 21) | class String FILE: ch14/ex14_26_StringMain.cpp function foo (line 8) | void foo(String x) function bar (line 13) | void bar(const String& x) function String (line 18) | String baz() function main (line 24) | int main() FILE: ch14/ex14_27_28_StrBlob.cpp function StrBlob (line 118) | StrBlob& StrBlob::operator=(const StrBlob &lhs) function StrBlob (line 124) | StrBlob& StrBlob::operator=(StrBlob &&rhs) NOEXCEPT function StrBlobPtr (line 140) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 145) | StrBlobPtr StrBlob::end() function ConstStrBlobPtr (line 150) | ConstStrBlobPtr StrBlob::cbegin() const function ConstStrBlobPtr (line 155) | ConstStrBlobPtr StrBlob::cend() const FILE: ch14/ex14_27_28_StrBlob.h function class (line 45) | class StrBlob { function check (line 130) | inline void StrBlob::check(size_type i, const string &msg) const function string (line 135) | inline string& StrBlob::operator[](size_t n) function string (line 141) | inline const string& StrBlob::operator[](size_t n) const function class (line 153) | class StrBlobPtr { function string (line 192) | inline string& StrBlobPtr::deref() const function StrBlobPtr (line 246) | inline StrBlobPtr StrBlobPtr::operator-(size_t n) const function shared_ptr (line 253) | inline shared_ptr> StrBlobPtr::check(size_t i, const stri... function string (line 261) | inline string& StrBlobPtr::operator[](size_t n) function string (line 267) | inline const string& StrBlobPtr::operator[](size_t n) const function class (line 279) | class ConstStrBlobPtr { function string (line 317) | inline const string& ConstStrBlobPtr::deref() const function ConstStrBlobPtr (line 372) | inline ConstStrBlobPtr ConstStrBlobPtr::operator-(size_t n) const function std (line 379) | inline std::shared_ptr> ConstStrBlobPtr::check(size_t i, ... function string (line 387) | inline const string& ConstStrBlobPtr::operator[](size_t n) const FILE: ch14/ex14_27_28_StrBlobTest.cpp function main (line 4) | int main() FILE: ch14/ex14_30_StrBlob.cpp function StrBlob (line 118) | StrBlob& StrBlob::operator=(const StrBlob &lhs) function StrBlob (line 124) | StrBlob& StrBlob::operator=(StrBlob &&rhs) NOEXCEPT function StrBlobPtr (line 140) | StrBlobPtr StrBlob::begin() function StrBlobPtr (line 145) | StrBlobPtr StrBlob::end() function ConstStrBlobPtr (line 150) | ConstStrBlobPtr StrBlob::cbegin() const function ConstStrBlobPtr (line 155) | ConstStrBlobPtr StrBlob::cend() const FILE: ch14/ex14_30_StrBlob.h function class (line 45) | class StrBlob { function check (line 130) | inline void StrBlob::check(size_type i, const string &msg) const function string (line 135) | inline string& StrBlob::operator[](size_t n) function string (line 141) | inline const string& StrBlob::operator[](size_t n) const function class (line 153) | class StrBlobPtr { function string (line 192) | inline string& StrBlobPtr::deref() const function StrBlobPtr (line 247) | inline StrBlobPtr StrBlobPtr::operator-(size_t n) const function shared_ptr (line 254) | inline shared_ptr> StrBlobPtr::check(size_t i, const stri... function string (line 262) | inline string& StrBlobPtr::operator[](size_t n) function string (line 268) | inline const string& StrBlobPtr::operator[](size_t n) const function class (line 280) | class ConstStrBlobPtr { function string (line 319) | inline const string& ConstStrBlobPtr::operator*() const function string (line 325) | inline const string* ConstStrBlobPtr::operator->() const FILE: ch14/ex14_30_StrBlobTest.cpp function main (line 4) | int main() FILE: ch14/ex14_32.cpp function StrBlobPtr (line 5) | StrBlobPtr& function StrBlobPtr (line 11) | StrBlobPtr* function main (line 17) | int main() FILE: ch14/ex14_32.h function class (line 16) | class StrBlobPtr_pointer FILE: ch14/ex14_35.cpp class GetInput (line 4) | class GetInput { method GetInput (line 6) | GetInput(std::istream &i = std::cin) : is(i) { } function main (line 17) | int main() FILE: ch14/ex14_36.cpp class GetInput (line 5) | class GetInput { method GetInput (line 7) | GetInput(std::istream &i = std::cin) : is(i) { } function main (line 18) | int main() FILE: ch14/ex14_37.cpp class IsEqual (line 5) | class IsEqual { method IsEqual (line 8) | IsEqual(int v) : value(v) { } function main (line 14) | int main() FILE: ch14/ex14_38_39.cpp type IsInRange (line 18) | struct IsInRange method IsInRange (line 20) | IsInRange(std::size_t lower, std::size_t upper) method lower_limit (line 29) | std::size_t lower_limit() const method upper_limit (line 34) | std::size_t upper_limit() const function main (line 43) | int main() FILE: ch14/ex14_40.cpp class ShorterString (line 25) | class ShorterString { class BiggerEqual (line 30) | class BiggerEqual { method BiggerEqual (line 33) | BiggerEqual(size_t sz) : sz_(sz) { } class Print (line 37) | class Print { function string (line 42) | string make_plural(size_t ctr, string const& word, string const& ending) function elimDups (line 47) | void elimDups(vector &words) { function biggies (line 53) | void biggies( vector &words, vector::size_type sz ) { function main (line 63) | int main() FILE: ch14/ex14_42.cpp function main (line 7) | int main() FILE: ch14/ex14_43.cpp function main (line 19) | int main() FILE: ch14/ex14_44.cpp function add (line 19) | int add(int i, int j){ return i + j; } type Div (line 21) | struct Div{ int operator ()(int i, int j) const { return i / j; } } function main (line 33) | int main() FILE: ch14/ex14_45.cpp function Sales_data (line 8) | Sales_data& Sales_data::operator+=(const Sales_data &rhs) function Sales_data (line 32) | Sales_data operator+(const Sales_data &lhs, const Sales_data &rhs) function Sales_data (line 39) | Sales_data& Sales_data::operator=(const std::string &isbn) FILE: ch14/ex14_45.h function class (line 19) | class Sales_data { FILE: ch14/ex14_45_TEST.cpp function main (line 3) | int main() FILE: ch14/ex14_49.cpp function Date (line 75) | Date &Date::operator= (const Date &d) function Date (line 85) | Date &Date::operator =(Date&& rhs) noexcept function Date (line 122) | Date &Date::operator +=(Date::Size offset) function Date (line 128) | Date &Date::operator -=(Date::Size offset) function Date (line 203) | Date operator - (const Date &lhs, Date::Size rhs) function Date (line 213) | Date operator + (const Date &lhs, Date::Size rhs) FILE: ch14/ex14_49.h function class (line 59) | class Date function check (line 151) | inline bool function isLeapYear (line 195) | inline bool FILE: ch14/ex14_49_TEST.cpp function main (line 3) | int main() FILE: ch15/ex15.1.2.3/main.cpp function main (line 32) | int main() function print_total (line 40) | double print_total(std::ostream &os, const Quote &item, size_t n) FILE: ch15/ex15.1.2.3/quote.h function class (line 6) | class Quote FILE: ch15/ex15.11/bulk_quote.h function class (line 5) | class Bulk_quote : public Quote FILE: ch15/ex15.11/limit_quote.h function class (line 6) | class Limit_quote : public Quote FILE: ch15/ex15.11/main.cpp function main (line 23) | int main() function print_total (line 69) | double print_total(std::ostream &os, const Quote &item, size_t n) function print_debug (line 80) | void print_debug(const Quote &q) FILE: ch15/ex15.11/quote.h function class (line 7) | class Quote FILE: ch15/ex15.12.13.14/limit_quote.h function class (line 6) | class Limit_quote : public Quote FILE: ch15/ex15.12.13.14/main.cpp class base (line 34) | class base method name (line 37) | std::string name() { return basename; } method print (line 38) | virtual void print(std::ostream &os) { os << basename; } class derived (line 45) | class derived : public base method print (line 48) | void print(std::ostream &os) override { base::print(os); os << " deriv... function main (line 65) | int main() function print_total (line 99) | double print_total(std::ostream &os, const Quote &item, size_t n) function print_debug (line 110) | void print_debug(const Quote &q) FILE: ch15/ex15.12.13.14/quote.h function class (line 7) | class Quote FILE: ch15/ex15.15.16.17/bulk_quote.h function class (line 5) | class Bulk_quote : public Disc_quote FILE: ch15/ex15.15.16.17/disc_quote.h function class (line 5) | class Disc_quote : public Quote FILE: ch15/ex15.15.16.17/limit_quote.h function class (line 6) | class Limit_quote : public Disc_quote FILE: ch15/ex15.15.16.17/main.cpp function main (line 40) | int main() FILE: ch15/ex15.15.16.17/quote.h function class (line 7) | class Quote FILE: ch15/ex15.18.19.20/main.cpp class Base (line 63) | class Base type Pub_Derv (line 73) | struct Pub_Derv : public Base method memfcn (line 75) | void memfcn(Base &b) { b = *this; } type Priv_Derv (line 77) | struct Priv_Derv : private Base method memfcn (line 79) | void memfcn(Base &b) { b = *this; } type Prot_Derv (line 81) | struct Prot_Derv : protected Base method memfcn (line 83) | void memfcn(Base &b) { b = *this; } type Derived_from_Public (line 86) | struct Derived_from_Public : public Pub_Derv method memfcn (line 88) | void memfcn(Base &b) { b = *this; } type Derived_from_Private (line 90) | struct Derived_from_Private : public Priv_Derv type Derived_from_Protected (line 94) | struct Derived_from_Protected : public Prot_Derv method memfcn (line 96) | void memfcn(Base &b) { b = *this; } function main (line 99) | int main() FILE: ch15/ex15.21.22/main.cpp class Shape (line 31) | class Shape method Shape (line 36) | Shape() = default; method Shape (line 37) | Shape(const std::string& n) : class Rectangle (line 48) | class Rectangle : public Shape method Rectangle (line 51) | Rectangle() = default; method Rectangle (line 52) | Rectangle(const std::string& n, class Square (line 68) | class Square : public Rectangle method Square (line 71) | Square() = default; method Square (line 72) | Square(const std::string& n, function main (line 83) | int main() FILE: ch15/ex15.23.cpp class Base (line 21) | class Base method fcn (line 24) | virtual int fcn(){ std::cout << "Base::fcn()\n"; return 0; } class D1 (line 27) | class D1 : public Base method fcn (line 30) | int fcn() override { std::cout << "D1::fcn()\n";return 0; } method f2 (line 32) | virtual void f2() { std::cout << "D1::f2()\n"; } class D2 (line 35) | class D2 : public D1 method fcn (line 39) | int fcn() override { std::cout << "D2::fcn()\n";return 0; } method f2 (line 40) | void f2() override { std::cout << "D2::f2()\n"; } function main (line 43) | int main() FILE: ch15/ex15.24.25.cpp function main (line 33) | int main(){ return 0; } FILE: ch15/ex15.26/bulk_quote.h function class (line 5) | class Bulk_quote : public Disc_quote FILE: ch15/ex15.26/disc_quote.h function class (line 5) | class Disc_quote : public Quote FILE: ch15/ex15.26/limit_quote.h function class (line 6) | class Limit_quote : public Disc_quote FILE: ch15/ex15.26/main.cpp function main (line 28) | int main() FILE: ch15/ex15.26/quote.h function class (line 7) | class Quote function virtual (line 50) | virtual double net_price(std::size_t n) const { return n * price; } function virtual (line 51) | virtual void debug() const; FILE: ch15/ex15.27/bulk_quote.h function class (line 5) | class Bulk_quote : public Disc_quote FILE: ch15/ex15.27/disc_quote.h function class (line 5) | class Disc_quote : public Quote FILE: ch15/ex15.27/limit_quote.h function class (line 6) | class Limit_quote : public Disc_quote FILE: ch15/ex15.27/main.cpp function main (line 27) | int main() FILE: ch15/ex15.27/quote.h function class (line 7) | class Quote function virtual (line 50) | virtual double net_price(std::size_t n) const { return n * price; } function virtual (line 51) | virtual void debug() const; FILE: ch15/ex15.28.29/bulk_quote.h function class (line 5) | class Bulk_quote : public Disc_quote FILE: ch15/ex15.28.29/disc_quote.h function class (line 5) | class Disc_quote : public Quote FILE: ch15/ex15.28.29/limit_quote.h function class (line 6) | class Limit_quote : public Disc_quote FILE: ch15/ex15.28.29/main.cpp function main (line 44) | int main() FILE: ch15/ex15.28.29/quote.h function class (line 7) | class Quote function virtual (line 50) | virtual double net_price(std::size_t n) const { return n * price; } function virtual (line 51) | virtual void debug() const; FILE: ch15/ex15.30/basket.h function class (line 10) | class Basket FILE: ch15/ex15.30/bulk_quote.h function class (line 5) | class Bulk_quote : public Disc_quote FILE: ch15/ex15.30/disc_quote.h function class (line 5) | class Disc_quote : public Quote FILE: ch15/ex15.30/limit_quote.h function class (line 6) | class Limit_quote : public Disc_quote FILE: ch15/ex15.30/main.cpp function main (line 28) | int main() FILE: ch15/ex15.30/quote.cpp function print_total (line 11) | double print_total(std::ostream &os, const Quote &item, size_t n) FILE: ch15/ex15.30/quote.h function class (line 7) | class Quote function virtual (line 50) | virtual Quote* clone() const & { return new Quote(*this); } function virtual (line 54) | virtual double net_price(std::size_t n) const { return n * price; } function virtual (line 55) | virtual void debug() const; FILE: ch15/ex15.31.32.33.cpp class Foo (line 65) | class Foo method Foo (line 68) | Foo(const std::vector& t) : function main (line 75) | int main() FILE: ch15/ex15.34.35.36.38/StrBlob.h function class (line 40) | class StrBlob function StrBlob (line 72) | inline function class (line 77) | class StrBlobPtr function std (line 100) | inline function StrBlobPtr (line 121) | inline function StrBlobPtr (line 130) | inline function StrBlobPtr (line 140) | inline function StrBlobPtr (line 147) | inline function eq (line 156) | inline function neq (line 169) | inline FILE: ch15/ex15.34.35.36.38/andquery.h function class (line 7) | class AndQuery : public BinaryQuery function QueryResult (line 18) | QueryResult eval(const TextQuery &) const override function Query (line 24) | inline Query operator& (const Query& lhs, const Query& rhs) FILE: ch15/ex15.34.35.36.38/binaryquery.h function class (line 13) | class BinaryQuery : public Query_base FILE: ch15/ex15.34.35.36.38/main.cpp function main (line 112) | int main() FILE: ch15/ex15.34.35.36.38/notquery.h function class (line 13) | class NotQuery : public Query_base FILE: ch15/ex15.34.35.36.38/orquery.h function class (line 6) | class OrQuery :public BinaryQuery function QueryResult (line 15) | QueryResult eval(const TextQuery& )const override FILE: ch15/ex15.34.35.36.38/query.h function class (line 17) | class Query FILE: ch15/ex15.34.35.36.38/query_base.h function class (line 10) | class Query_base FILE: ch15/ex15.34.35.36.38/queryresult.h function class (line 32) | class QueryResult FILE: ch15/ex15.34.35.36.38/textquery.cpp function QueryResult (line 57) | QueryResult FILE: ch15/ex15.34.35.36.38/textquery.h function class (line 32) | class TextQuery FILE: ch15/ex15.34.35.36.38/wordquery.h function class (line 12) | class WordQuery : public Query_base FILE: ch15/ex15.39.40/StrBlob.h function class (line 40) | class StrBlob function StrBlob (line 72) | inline function class (line 77) | class StrBlobPtr function std (line 100) | inline function StrBlobPtr (line 121) | inline function StrBlobPtr (line 130) | inline function StrBlobPtr (line 140) | inline function StrBlobPtr (line 147) | inline function eq (line 156) | inline function neq (line 169) | inline FILE: ch15/ex15.39.40/main.cpp function main (line 35) | int main() FILE: ch15/ex15.39.40/query.cpp function QueryResult (line 7) | QueryResult AndQuery::eval(const TextQuery &text) const function QueryResult (line 28) | QueryResult OrQuery::eval(const TextQuery &text) const function QueryResult (line 46) | QueryResult NotQuery::eval(const TextQuery &text) const FILE: ch15/ex15.39.40/query.h function class (line 13) | class Query_base function class (line 34) | class WordQuery : public Query_base function class (line 61) | class Query function class (line 104) | class BinaryQuery : public Query_base function class (line 132) | class OrQuery :public BinaryQuery function class (line 154) | class AndQuery : public BinaryQuery function Query (line 168) | inline Query operator& (const Query& lhs, const Query& rhs) function class (line 179) | class NotQuery : public Query_base FILE: ch15/ex15.39.40/textquery.cpp function QueryResult (line 56) | QueryResult FILE: ch15/ex15.39.40/textquery.h function class (line 32) | class TextQuery function class (line 55) | class QueryResult FILE: ch15/ex15.4.5.6/bulk_quote.h function class (line 5) | class Bulk_quote : public Quote FILE: ch15/ex15.4.5.6/main.cpp function main (line 33) | int main() function print_total (line 45) | double print_total(std::ostream &os, const Quote &item, size_t n) FILE: ch15/ex15.4.5.6/quote.h function class (line 6) | class Quote FILE: ch15/ex15.42_b/andquery.cpp function QueryResult (line 19) | QueryResult FILE: ch15/ex15.42_b/andquery.h function class (line 13) | class AndQuery :public BinaryQuery FILE: ch15/ex15.42_b/binaryquery.h function class (line 11) | class BinaryQuery :public Query_base FILE: ch15/ex15.42_b/main.cpp function main (line 21) | int main() FILE: ch15/ex15.42_b/notquery.cpp function QueryResult (line 14) | QueryResult FILE: ch15/ex15.42_b/notquery.h function class (line 16) | class NotQuery :public Query_base FILE: ch15/ex15.42_b/orquery.cpp function QueryResult (line 13) | QueryResult FILE: ch15/ex15.42_b/orquery.h function class (line 13) | class OrQuery :public BinaryQuery FILE: ch15/ex15.42_b/query.cpp function ostream (line 6) | ostream& FILE: ch15/ex15.42_b/query.h function class (line 20) | class Query function Query (line 37) | inline Query::Query(const string &s) :q(new WordQuery(s)){ } FILE: ch15/ex15.42_b/query_base.h function class (line 9) | class Query_base FILE: ch15/ex15.42_b/queryhistory.h function class (line 12) | class QueryHistory FILE: ch15/ex15.42_b/queryresult.cpp function ostream (line 6) | ostream& FILE: ch15/ex15.42_b/queryresult.h function class (line 22) | class QueryResult FILE: ch15/ex15.42_b/textquery.cpp function QueryResult (line 52) | QueryResult TextQuery::query(const string &sought) const FILE: ch15/ex15.42_b/textquery.h function class (line 24) | class TextQuery FILE: ch15/ex15.42_b/wordquery.h function class (line 11) | class WordQuery:public Query_base FILE: ch15/ex15.42_c/andquery.cpp function QueryResult (line 19) | QueryResult FILE: ch15/ex15.42_c/andquery.h function class (line 13) | class AndQuery :public BinaryQuery FILE: ch15/ex15.42_c/binaryquery.h function class (line 11) | class BinaryQuery :public Query_base FILE: ch15/ex15.42_c/main.cpp function main (line 20) | int main() FILE: ch15/ex15.42_c/notquery.cpp function QueryResult (line 14) | QueryResult FILE: ch15/ex15.42_c/notquery.h function class (line 16) | class NotQuery :public Query_base FILE: ch15/ex15.42_c/orquery.cpp function QueryResult (line 13) | QueryResult FILE: ch15/ex15.42_c/orquery.h function class (line 13) | class OrQuery :public BinaryQuery FILE: ch15/ex15.42_c/query.cpp function ostream (line 6) | ostream& FILE: ch15/ex15.42_c/query.h function class (line 20) | class Query function Query (line 37) | inline Query::Query(const string &s) :q(new WordQuery(s)){ } FILE: ch15/ex15.42_c/query_base.h function class (line 9) | class Query_base FILE: ch15/ex15.42_c/queryresult.cpp function ostream (line 6) | ostream& function ostream (line 20) | ostream& FILE: ch15/ex15.42_c/queryresult.h function class (line 22) | class QueryResult FILE: ch15/ex15.42_c/textquery.cpp function QueryResult (line 52) | QueryResult TextQuery::query(const string &sought) const FILE: ch15/ex15.42_c/textquery.h function class (line 24) | class TextQuery FILE: ch15/ex15.42_c/wordquery.h function class (line 11) | class WordQuery:public Query_base FILE: ch15/ex15.7/bulk_quote.h function class (line 5) | class Bulk_quote : public Quote FILE: ch15/ex15.7/limit_quote.h function class (line 6) | class Limit_quote : public Quote FILE: ch15/ex15.7/main.cpp function main (line 24) | int main() function print_total (line 38) | double print_total(std::ostream &os, const Quote &item, size_t n) FILE: ch15/ex15.7/quote.h function class (line 6) | class Quote FILE: ch15/ex15.8.9.10/ex15.8.9.10.cpp function main (line 38) | int main() function print_total (line 43) | double print_total(std::ostream &os, const Quote &item, size_t n) FILE: ch15/ex15.9/bulk_quote.h function class (line 5) | class Bulk_quote : public Quote FILE: ch15/ex15.9/limit_quote.h function class (line 6) | class Limit_quote : public Quote FILE: ch15/ex15.9/main.cpp function main (line 21) | int main() FILE: ch15/ex15.9/quote.h function class (line 7) | class Quote FILE: ch16/ex16.1.2.3/main.cpp class Sales_data (line 34) | class Sales_data{ } function compare (line 37) | int compare(const T& lhs, const T& rhs) function main (line 44) | int main() FILE: ch16/ex16.12.13/Blob.h type typename (line 10) | typedef typename std::vector::size_type size_type; function push_back (line 20) | void push_back(const T& t) { data->push_back(t); } function push_back (line 21) | void push_back(T&& t) { data->push_back(std::move(t)); } function T (line 28) | const T& back() const; FILE: ch16/ex16.12.13/main.cpp function main (line 27) | int main() FILE: ch16/ex16.14.15/Screen.h function contents (line 19) | Screen(char c):contents(H * W, c) { } FILE: ch16/ex16.14.15/main.cpp function main (line 24) | int main() FILE: ch16/ex16.16/main.cpp function main (line 17) | int main() FILE: ch16/ex16.16/vec.h function T (line 34) | T* begin() const { return element; } function T (line 35) | T* end() const { return first_free; } function chk_n_alloc (line 52) | void chk_n_alloc() { if(size()==capacity()) reallocate(); } FILE: ch16/ex16.17.18/main.cpp function main (line 43) | int main() FILE: ch16/ex16.19.20/main.cpp function main (line 43) | int main() FILE: ch16/ex16.21.22/DebugDelete.h function class (line 6) | class DebugDelete FILE: ch16/ex16.21.22/StrBlob.h function class (line 40) | class StrBlob function StrBlob (line 72) | inline function class (line 77) | class StrBlobPtr function std (line 100) | inline function StrBlobPtr (line 121) | inline function StrBlobPtr (line 130) | inline function StrBlobPtr (line 140) | inline function StrBlobPtr (line 147) | inline function eq (line 156) | inline function neq (line 169) | inline FILE: ch16/ex16.21.22/main.cpp function main (line 27) | int main() FILE: ch16/ex16.21.22/wy_queryresult.cpp function print (line 33) | void print(std::ostream &os, const wy_queryResult &qr) FILE: ch16/ex16.21.22/wy_queryresult.h function class (line 20) | class wy_queryResult FILE: ch16/ex16.21.22/wy_textquery.cpp function wy_queryResult (line 47) | wy_queryResult FILE: ch16/ex16.21.22/wy_textquery.h function class (line 28) | class wy_textQuery FILE: ch16/ex16.24/Blob.h type typename (line 18) | typedef typename std::vector::size_type size_type; function push_back (line 32) | void push_back(const T& t) { data->push_back(t); } function push_back (line 33) | void push_back(T&& t) { data->push_back(std::move(t)); } function T (line 40) | const T& back() const; FILE: ch16/ex16.24/main.cpp function main (line 22) | int main() FILE: ch16/ex16.25.26/main.cpp function main (line 29) | int main() FILE: ch16/ex16.28/delete.hpp type cp5 (line 13) | namespace cp5 type Delete (line 15) | struct Delete FILE: ch16/ex16.28/main.cpp function main (line 18) | int main() FILE: ch16/ex16.28/shared_pointer.hpp type cp5 (line 15) | namespace cp5 class SharedPointer (line 18) | class SharedPointer method SharedPointer (line 36) | SharedPointer() method SharedPointer (line 42) | explicit SharedPointer(T* raw_ptr) method SharedPointer (line 48) | SharedPointer(SharedPointer const& other) method SharedPointer (line 56) | SharedPointer(SharedPointer && other) noexcept method SharedPointer (line 65) | SharedPointer& operator=(SharedPointer const& rhs) method SharedPointer (line 76) | SharedPointer& operator=(SharedPointer && rhs) noexcept method T (line 92) | T& operator* () const method T (line 99) | T* operator->() const method use_count (line 106) | auto use_count() const method get (line 113) | auto get() const method unique (line 120) | auto unique() const method swap (line 127) | auto swap(SharedPointer& rhs) method reset (line 134) | auto reset() method reset (line 141) | auto reset(T* pointer) method reset (line 153) | auto reset(T *pointer, const std::function& d) method decrement_and_destroy (line 170) | auto decrement_and_destroy() function swap (line 21) | auto swap(SharedPointer& lhs, SharedPointer& rhs) class SharedPointer (line 30) | class SharedPointer method SharedPointer (line 36) | SharedPointer() method SharedPointer (line 42) | explicit SharedPointer(T* raw_ptr) method SharedPointer (line 48) | SharedPointer(SharedPointer const& other) method SharedPointer (line 56) | SharedPointer(SharedPointer && other) noexcept method SharedPointer (line 65) | SharedPointer& operator=(SharedPointer const& rhs) method SharedPointer (line 76) | SharedPointer& operator=(SharedPointer && rhs) noexcept method T (line 92) | T& operator* () const method T (line 99) | T* operator->() const method use_count (line 106) | auto use_count() const method get (line 113) | auto get() const method unique (line 120) | auto unique() const method swap (line 127) | auto swap(SharedPointer& rhs) method reset (line 134) | auto reset() method reset (line 141) | auto reset(T* pointer) method reset (line 153) | auto reset(T *pointer, const std::function& d) method decrement_and_destroy (line 170) | auto decrement_and_destroy() FILE: ch16/ex16.28/unique_pointer.h function explicit (line 27) | explicit unique_pointer(T* up): ptr(up) { } function reset (line 53) | void reset() noexcept { deleter(ptr); ptr = nullptr; } function reset (line 54) | void reset(T* p) noexcept { deleter(ptr); ptr = p; } FILE: ch16/ex16.29/Blob.h type typename (line 24) | typedef typename std::vector::size_type size_type; function push_back (line 38) | void push_back(const T& t) { data->push_back(t); } function push_back (line 39) | void push_back(T&& t) { data->push_back(std::move(t)); } function T (line 46) | const T& back() const; FILE: ch16/ex16.29/DebugDelete.h function class (line 17) | class DebugDelete FILE: ch16/ex16.29/main.cpp function main (line 24) | int main() FILE: ch16/ex16.29/unique_pointer.h function explicit (line 27) | explicit unique_pointer(T* up): ptr(up) { } function reset (line 53) | void reset() noexcept { deleter(ptr); ptr = nullptr; } function reset (line 54) | void reset(T* p) noexcept { deleter(ptr); ptr = p; } FILE: ch16/ex16.32.33.34.35.36/main.cpp function main (line 65) | int main() FILE: ch16/ex16.37.38.39/main.cpp function compare (line 40) | int compare(const T &v1, const T &v2) function main (line 47) | int main() FILE: ch16/ex16.4/main.cpp type ch16 (line 23) | namespace ch16 function find (line 26) | auto find(Iterator first, Iterator last, Value const& value) function main (line 33) | int main() FILE: ch16/ex16.40/main.cpp class Bar (line 24) | class Bar{ } function Bar (line 26) | Bar operator +(Bar lhs, int) function fcn3 (line 32) | auto fcn3(It beg, It end) -> decltype(*beg + 0) function main (line 37) | int main() FILE: ch16/ex16.41/main.cpp function sum (line 20) | auto sum(T lhs, T rhs) -> decltype( lhs + rhs) function main (line 25) | int main() FILE: ch16/ex16.42.43.44.45.46/main.cpp function g (line 82) | void g(T&& val) function main (line 87) | int main() FILE: ch16/ex16.47/main.cpp function func_lvalue (line 17) | void func_lvalue(std::string& lhs, std::string& rhs) function func_rvalue (line 23) | void func_rvalue(int&& lhs, int&& rhs) function flip (line 45) | void flip(F f, T1&& t1, T2&& t2) function main (line 50) | int main() FILE: ch16/ex16.48/main.cpp function debug_rep (line 31) | std::string debug_rep(const T& t) function debug_rep (line 39) | std::string debug_rep(T* p) function debug_rep (line 53) | std::string debug_rep(const std::string &s) function debug_rep (line 59) | std::string debug_rep(char *p) function debug_rep (line 64) | std::string debug_rep(const char *p) function main (line 69) | int main() FILE: ch16/ex16.49.50/main.cpp function f (line 22) | void f(T) function f (line 27) | void f(const T*) function g (line 31) | void g(T) function g (line 35) | void g(T*) function main (line 42) | int main() FILE: ch16/ex16.5/main.cpp function print (line 20) | void print(Arr const& arr) function main (line 26) | int main() FILE: ch16/ex16.51.52/main.cpp function foo (line 19) | void foo(T t, Args ...args) function main (line 26) | int main() FILE: ch16/ex16.53.54.55/main.cpp function main (line 40) | int main() FILE: ch16/ex16.56.57/main.cpp function debug_rep (line 37) | std::string debug_rep(const T& t) function debug_rep (line 46) | std::string debug_rep(T* p) function debug_rep (line 60) | std::string debug_rep(const std::string &s) function debug_rep (line 66) | std::string debug_rep(char *p) function debug_rep (line 71) | std::string debug_rep(const char *p) function main (line 105) | int main() FILE: ch16/ex16.58.59/strvec.cpp function StrVec (line 49) | StrVec& FILE: ch16/ex16.58.59/strvec.h function class (line 15) | class StrVec function emplace_back (line 84) | void FILE: ch16/ex16.58.59/vec.h function T (line 37) | T* begin() const { return element; } function T (line 38) | T* end() const { return first_free; } function chk_n_alloc (line 55) | void chk_n_alloc() { if(size()==capacity()) reallocate(); } FILE: ch16/ex16.6/main.cpp function T (line 30) | T* begin_def(T(&arr)[size]) function main (line 45) | int main() FILE: ch16/ex16.60.61/main.cpp type ch16 (line 25) | namespace ch16 //to differ from std::make_shared function make_shared (line 28) | auto make_shared(Args&&... args) -> std::shared_ptr type Foo (line 34) | struct Foo method Foo (line 36) | explicit Foo(int b) : bar(b){ } function main (line 40) | int main() FILE: ch16/ex16.62/Sales_data.cc function Sales_data (line 49) | Sales_data& Sales_data::operator+=(const Sales_data &rhs) function Sales_data (line 57) | Sales_data function istream (line 65) | istream &operator>>(istream &is, Sales_data &item) function ostream (line 76) | ostream &operator<<(ostream &os, const Sales_data &item) function istream (line 84) | istream &read(istream &is, Sales_data &item) function ostream (line 91) | ostream &print(ostream &os, const Sales_data &item) function Sales_data (line 98) | Sales_data add(const Sales_data &lhs, const Sales_data &rhs) FILE: ch16/ex16.62/Sales_data.h function class (line 37) | class Sales_data { function compareIsbn (line 65) | inline function namespace (line 95) | namespace std { FILE: ch16/ex16.62/main.cpp function main (line 21) | int main() FILE: ch16/ex16.63.64/main.cpp function count (line 27) | std::size_t count(std::vector const& vec, T value) function count (line 37) | std::size_t count (std::vector const& vec, const char* value) function main (line 44) | int main() FILE: ch16/ex16.65.66.67/main.cpp function main (line 44) | int main() function debug_rep (line 53) | std::string debug_rep(T* t) function debug_rep (line 63) | std::string debug_rep(const char* str) function debug_rep (line 72) | std::string debug_rep( char *str) FILE: ch16/ex16.7.8/main.cpp function getSize (line 27) | constexpr unsigned getSize(const T(&)[size]) function main (line 32) | int main() FILE: ch16/ex16.9.10.11/main.cpp class ListItem (line 30) | class ListItem class List (line 31) | class List function main (line 46) | int main() FILE: ch17/17_24.cpp function main (line 17) | int main() FILE: ch17/17_25.cpp function main (line 15) | int main() FILE: ch17/17_27.cpp function main (line 17) | int main() FILE: ch17/17_35_36.cpp function main (line 10) | int main() function main (line 27) | int main() FILE: ch17/17_37_38/17_37_38.cpp function main (line 47) | int main() FILE: ch17/ex17.3/main.cpp function main (line 20) | int main() FILE: ch17/ex17.3/textquery.cpp function QueryResult (line 46) | QueryResult function result_tuple (line 64) | result_tuple TextQuery::query_return_tuple(const std::string &sought) FILE: ch17/ex17.3/textquery.h function class (line 20) | class TextQuery FILE: ch17/ex17_10.cpp function main (line 22) | int main() FILE: ch17/ex17_11_12_13.cpp class Quiz (line 35) | class Quiz method Quiz (line 39) | Quiz() = default; method Quiz (line 40) | Quiz(std::string& s) :bitquiz(s){ } function grade (line 71) | std::size_t grade(Quiz const& corAns, Quiz const& stuAns) function main (line 79) | int main() FILE: ch17/ex17_14_15_16.cpp function main (line 39) | int main() FILE: ch17/ex17_17_18.cpp function main (line 32) | int main() FILE: ch17/ex17_19_20.cpp function main (line 38) | int main() function valid (line 66) | bool valid(const smatch& m) FILE: ch17/ex17_1_2.cpp function main (line 21) | int main() FILE: ch17/ex17_21.cpp type PersonInfo (line 40) | struct PersonInfo function string (line 51) | string format(const string &num) { return num; } function main (line 53) | int main() function valid (line 76) | bool valid(const smatch& m) function read_record (line 89) | bool read_record(istream& is, vector& people) function format_record (line 110) | void format_record(ostream& os, const vector& people) FILE: ch17/ex17_23.cpp function main (line 27) | int main() function valid (line 53) | bool valid(const smatch& m) FILE: ch17/ex17_28_29_30.cpp function main (line 32) | int main() function random_gen (line 40) | unsigned random_gen() function random_gen (line 47) | unsigned random_gen(unsigned seed) function random_gen (line 54) | unsigned random_gen(unsigned seed, unsigned min, unsigned max) FILE: ch17/ex17_33.cpp function main (line 37) | int main() { FILE: ch17/ex17_4_5_6_7_8.cpp type matches_struct (line 59) | struct matches_struct method matches_struct (line 64) | matches_struct(std::vector::size_type s, function main (line 91) | int main() function findBook (line 98) | std::vector function reportResults (line 118) | void reportResults(std::istream& in, std::ostream os, function findBook_pair (line 140) | std::vector function findBook_struct (line 157) | std::vector FILE: ch17/ex17_4_5_6_7_8_SalesData.cpp function Sales_data (line 49) | Sales_data& function Sales_data (line 57) | Sales_data &Sales_data::operator =(const Sales_data &rhs) function Sales_data (line 67) | Sales_data &Sales_data::operator =(const std::string &rhs) function Sales_data (line 74) | Sales_data &Sales_data::operator +=(const Sales_data &rhs) function Sales_data (line 82) | Sales_data function istream (line 91) | istream& function ostream (line 100) | ostream& FILE: ch17/ex17_4_5_6_7_8_SalesData.h function class (line 40) | class Sales_data function compareIsbn (line 114) | inline FILE: ch17/ex17_9.cpp function main (line 28) | int main() FILE: ch18/18_18 18_19.cpp function swap (line 8) | void swap(T v1,Tv2) FILE: ch18/18_20.cpp type primerLib (line 15) | namespace primerLib { function compute (line 20) | void compute(int) { std::cout << "compute(int)" << std::endl; } function f (line 24) | void f() function main (line 30) | int main() FILE: ch18/ex18.1.2.3.cpp type intArray (line 46) | struct intArray method intArray (line 48) | intArray() : p(nullptr) { } method intArray (line 49) | explicit intArray(std::size_t s): function exercise (line 62) | void exercise(int *b, int *e) function main (line 80) | int main() FILE: ch18/ex18.12.13.14.cpp function main (line 32) | int main() FILE: ch18/ex18.15.16.17.cpp type Test0 (line 36) | namespace Test0 type Exercise (line 38) | namespace Exercise function manip (line 53) | void manip() type Test1 (line 81) | namespace Test1 type Exercise (line 83) | namespace Exercise function manip (line 92) | void manip() type Test2 (line 125) | namespace Test2 type Exercise (line 127) | namespace Exercise function manip (line 138) | void manip() type Test3 (line 168) | namespace Test3 type Exercise (line 170) | namespace Exercise function manip (line 179) | void manip() function main (line 208) | int main() FILE: ch18/ex18.25.cpp type Base1 (line 53) | struct Base1 method print (line 56) | virtual void print(){std::cout << "Print from Base1" << std::endl;} type Base2 (line 59) | struct Base2 method print (line 62) | virtual void print(){std::cout << "Print from Base2" << std::endl;} type D1 (line 66) | struct D1 : public Base1 method print (line 69) | void print() override {std::cout << "Print from D1" << std::endl;} type D2 (line 72) | struct D2 : public Base2 method print (line 75) | void print() override {std::cout << "Print from D2" << std::endl;} type MI (line 78) | struct MI : public D1, public D2 method print (line 81) | void print() override {std::cout << "Print from MI" << std::endl;} function main (line 87) | int main() FILE: ch18/ex18_29.cpp class Class (line 36) | class Class { method Class (line 38) | Class() { cout << "Class() called" << endl; } class Base (line 42) | class Base : public Class { method Base (line 44) | Base() { cout << "Base() called" << endl; } class D1 (line 48) | class D1 : virtual public Base { method D1 (line 50) | D1() { cout << "D1() called" << endl; } class D2 (line 54) | class D2 : virtual public Base { method D2 (line 56) | D2() { cout << "D2() called" << endl; } class MI (line 60) | class MI : public D1, public D2 { method MI (line 62) | MI() { cout << "MI() called" << endl; } class Final (line 66) | class Final : public MI, public Class { method Final (line 68) | Final() { cout << "Final() called" << endl; } function main (line 72) | int main(int argc, char const *argv[]) FILE: ch19/ex19_18.cpp function main (line 7) | int main(int argc, char *argv[]) FILE: ch19/ex19_20.cpp class TextQuery (line 9) | class TextQuery { class QueryResult (line 11) | class QueryResult class TextQuery::QueryResult (line 20) | class TextQuery::QueryResult{ method QueryResult (line 23) | QueryResult(std::string s, std::shared_ptr > p, function main (line 69) | int main(int argc, char *argv[]) FILE: ch19/ex19_21_22_23_24_25.cpp class Sales_data (line 4) | class Sales_data{ method Sales_data (line 6) | Sales_data() = default; method Sales_data (line 8) | Sales_data(int i):a(i){} method Sales_data (line 9) | Sales_data(const Sales_data &rhs):a(rhs.a){} method Sales_data (line 10) | Sales_data& operator=(const Sales_data&rhs){ class Token (line 18) | class Token{ method Token (line 20) | Token():tok(INT),ival(0){} method Token (line 21) | Token(const Token&t): tok(t.tok){copyUnion(t);} function Token (line 62) | Token& Token::operator=(const Token&t){ method Token (line 20) | Token():tok(INT),ival(0){} method Token (line 21) | Token(const Token&t): tok(t.tok){copyUnion(t);} function Token (line 73) | Token& Token::operator=(Token&& t){ method Token (line 20) | Token():tok(INT),ival(0){} method Token (line 21) | Token(const Token&t): tok(t.tok){copyUnion(t);} function Token (line 88) | Token& Token::operator=(const Sales_data& rhs){ method Token (line 20) | Token():tok(INT),ival(0){} method Token (line 21) | Token(const Token&t): tok(t.tok){copyUnion(t);} function Token (line 97) | Token& Token::operator=(const int& i){ method Token (line 20) | Token():tok(INT),ival(0){} method Token (line 21) | Token(const Token&t): tok(t.tok){copyUnion(t);} function main (line 106) | int main(int argc, char const *argv[]) { FILE: ch19/ex19_3_4.cpp class A (line 51) | class A { class B (line 56) | class B : public A { class C (line 61) | class C : public B { class D (line 66) | class D : public B, public A { function main (line 71) | int main(int argc, char const *argv[]) FILE: include/Sales_item.h function class (line 43) | class Sales_item { function compareIsbn (line 73) | inline