Search Books

Advanced C++ FAQs: Volume 1 : Fundamentals

Author Chandra Shekhar Kumar
Publisher CreateSpace Independent Publishing Platform
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
29.99 USD
🛒 Buy New on Amazon 🇺🇸
Share:
Book Details
ISBN / ASIN1499526482
ISBN-139781499526486
Sales Rank5,236,842
MarketplaceUnited States 🇺🇸

Description

This book is not an introduction to C++. It assumes that the reader is aware of the basics of C++98 and C++03 and is keen to expand her horizon to latest and greatest in the present and future of C++, including C++11 and C++1y(aka C++14). It contains selected fundamental problems with detailed solutions to all of these which will help the reader to hone her skills to solve a particular problem.

  1. Algorithms
  2. 1.1 Efficient Insertion in Vector
    1.2 reverse algorithm for forward iterators
    1.3 swapping equal length sections
    1.4 swapping unequal sections
    1.5 rotate algorithm
    1.6 rotate vs. swap ranges
    1.7 Generic Slide Function
    1.8 Generic Gather Function
    1.9 Avoid Raw Loops
    1.10 rotation for bidirectional iterators
    1.11 rotation for forward iterators
    1.12 Implementation of std::rotate algorithm
    1.13 better algorithm than std::rotate
    1.14 reverse algorithm for bidirectional iterators
    1.15 reverse algorithm for bidirectional and random iterators
    1.16 reverse algorithm dispatch
    1.17 Efficient Algorithm for reverse
    1.18 Definition : Partition Algorithm
    1.19 Taxonomy : Permutation
    1.20 Partition Structure Validation
    1.21 is partitioned algorithm
    1.22 Bisection Algorithm
    1.23 Group Partition
    1.24 Quantifier Algorithm : All
    1.25 advance and next
    1.26 custom iota
    1.27 Quantifier Algorithm : None

  3. Utilities
  4. 2.1 std::move is rvalue cast
    2.2 std::move if noexcept
    2.3 std::forward
    2.4 constraint class HasEqual
    2.5 EqualityComparable
    2.6 is same

  5. Templates
  6. 3.1 alias template
    3.2 template parameter pack
    3.3 override virtual and template
    3.4 virtual member function template
    3.5 explicit specialization and static member
    3.6 template argument and type-id
    3.7 template and template-id
    .
    .
    .

  7. Classes
  8. Namespaces
  9. Type Specifiers
  10. Constant Expression
  11. C++14
  12. 8.1 Contextual Conversion
    8.2 Single quotation mark as digit separator
    8.3 Binary Literals
    8.4 auto return type in function declaration
    8.5 return type deduction for function
    8.6 return type deduction for lambdas
    8.7 decltype(auto)
    8.8 return type deduction for function templates
    8.9 explicit instantiation and auto
    8.10 return type deduction and virtual
    8.11 deduce return type
    8.12 generalized lambda capture
    8.13 generic lambda and product vector
    8.14 generic lambda
    8.15 generic lambda definition
    8.16 conversion function of generic lambda
    8.17 generic lambda quiz
    8.18C++14 Compiler

  13. Miscellaneous


Books In Print
  • Advanced C++ FAQs: Volume 1 : Fundamentals
  • Advanced C++ FAQs: Volume 2 : Generic Programming
  • Advanced C++ FAQs: Volumes 1 & 2
  • C++14 FAQs