Git Admin 2eda34aa6c Updated 2018-10-06 | 5 years ago | |
---|---|---|
LICENSE | 10 years ago | |
README.md | 5 years ago | |
std.stcgafpmufdcppp.cpp.tags | 5 years ago |
Geany .tags
file for the
Standard Templated Containers, Generic Algorithms, Functional Programming and Miscellaneous Utilities Framework for the Development of C-Plus-Plus Programs.
The Standard Templated Containers, Generic Algorithms, Functional Programming and Miscellaneous Utilities Framework for the Development of C-Plus-Plus Programs.
...Perhaps some explaining is in order.
There is a large set of utilities provided by the C++ Standard.
These go from generic algorithms such as copy
and find
, to generic-use containers
such as vector
and list
, to functionoid binders for purposes of functional
programming such as bind
and cref
, and beyond.
Over time, there have been internet wars over what to call this set of standard utilities. Some people call them the "stdlib", some other people call them the "STL", with a defined meaning, and some other people also call them the "STL" but refer to a basis provided by SGI, and yet some other people talk about the "Standard STL" (more or less in the same vein as the ATM Machines in which you insert a PIN Number).
There was a small, in-joke contest in the Freenode #C++
Channel (link to be provided)
to produce the longest, unambiguous term to refer to this set of utilities,
during which I came up with the acronym STCGAFPMUFDCPPP
,
which I've adopted in all my code and documentation ever since
(but I don't have much hope of it ever catching up).
As such, when I decided to create a tags file for this set of utilities, of course I ended up using this name for them.
Because Geany lacks one, and coming up with a sensible one is hard to do, and having a handy reference of the features the C++ Standard provides is always good, considering the language is evolving with a new Standard being released in 2011 and yet another one in 2014.
Just like any other .tags
file for Geany.
Just copy this into your config directory's tags
subdirectory.
Like, right now. Just clone the repo (or extract this same tags file from the official Geany Wiki).
The public function interfaces from the following C++ headers are provided in the tags file:
<algorithm>
- generic algorithms to copy sequences, find elements, perform transformations, etc.<functional>
- reference wrappers, function object and functionoid binders such as mem_fn
.<ios>
, <iostream>
and <iomanip>
- the various stream state functions.<iterator>
- the iterator helper conveniences such as next
and prev
, as well as the upcoming C++14 additions.<memory>
- the make_shared
convenience and various memory management related utilities.<numeric>
- the numeric utilities including C++11's iota
.<system_error>
- the functions used to tag error code and error category elements.<tuple>
- the make_tuple
convenience and other tuple-related functions.<utility>
- the standard utilities such as swap
, move
, as well as some upcoming C++14 additions.for_each_n
algorithm from C++17.mismatch
.lexicographical_compare
.search
and variants.gcd
, lcm
from <numeric>
.<system_error>
.as_const
from <utility>
.make_unique
.(
, not on <
).<type_traits>
.<random>
.<regex>
.<cmath>
and other related headers.<optional>
(from C++ C++17).<variant>
(from C++17).''You might not have #include
d the necessary header''.
Consult a C++ reference to determine what header you need to include to have access to these features.
In the general sense, it's most likely you are using an old (or new) enough C++ Standard that some of these features are not available, for example:
<system_error>
or <optional>
is provided.<functional>
.If that's the case, you can still get most of these features by using a framework or toolkit library that provides a compatibility access later for such functions, such as cxxomfort (for C++03/C++11 backports) or Boost (for potential feature implementations).