Class for storing all makefile_record in Makefile.
More...
#include <makefile_records.hpp>
Class for storing all makefile_record in Makefile.
!
Returns reference to last record in container. If the container is empty, the function has undefined behaviour.
- Returns
- reference to last element in container.
Returns reference to last record in container. If the container is empty, the function has undefined behaviour.
- Returns
- const_reference to last element in container.
Returns the iterator to begin of the container.
- Returns
- iterator to the begin.
Returns the iterator to begin of the container.
- Returns
- const_iterator to the begin.
template<typename... Ts>
| void makefile_records::emplace_back |
( |
Ts &&... |
vals | ) |
|
|
inline |
Emplaces an element by calling constructor of makefile_record in place.
- Template Parameters
-
- Parameters
-
Returns the iterator past the end of the container.
- Returns
- iterator past the end.
Returns the iterator past the end of the container.
- Returns
- const_iterator past the end.
Finds a record by target name.
- Parameters
-
| target | file representing target to be found. |
- Returns
- iterator to found target, or end() if no such target exists.
Returns reference to first record in container. If the container is empty, the function has undefined behaviour.
- Returns
- reference to first element in container.
Returns reference to first record in container. If the container is empty, the function has undefined behaviour.
- Returns
- const_reference to first element in container.
Inserts an element of value val by copy constructing it at the end.
- Parameters
-
| val | element to be inserted into container. |
| void makefile_records::push_back |
( |
value_type && |
val | ) |
|
|
inline |
Inserts an element of value val by move constructing it at the end.
- Parameters
-
| val | element to be inserted into container. |
| std::size_t makefile_records::size |
( |
| ) |
|
|
inline |
- Returns
- Number of records in container.
The documentation for this class was generated from the following file: