vimwiki/tech/C++.wiki

29 lines
547 B
Plaintext

= C++ =
Object Oriented super set of C. Great for larger projects, with minimal
drawbacks due to the Object abstraction.
== Features ==
* [[constexpr]]
* [[inline_static_member|inline static members]]
== Common operators ==
=== Distance between two enumerators ===
To find the distance between two enumerators, use `std::distance`.
It is from the `<iterator>` header. It takes two params, a begin and end
iterator. It returns an int of the number of spaces between the two iterators.
Run time is `O(n)`
== Also See ==
[[C]]
[[index]]