Syntax sugar libraries.
More...
|
template<typename ... Args> |
constexpr internal::bind_obj< Args... > | bind_at (Args &&... args) |
| call at<...>(...) to args... More...
|
|
template<typename Container > |
back_emplace_iterator< Container > | back_emplacer (Container &container) |
| make back_emplace_iterator More...
|
|
template<int new_size, typename T , typename = void_t<decltype(std::declval<T>().resize(new_size))>> |
decltype(auto) | resize (T &&t) |
| returns any resized resizable type More...
|
|
template<std::size_t i, typename ... Args, std::enable_if_t<(i< sizeof...(Args)), int > = 0> |
decltype(auto) | variadic_at (Args &&... args) |
| Index-based value accessor. More...
|
|
template<typename T , typename Allocator = std::allocator<T>> |
std::vector< T, Allocator > | reserved_vector (typename std::vector< T, Allocator >::size_type size) |
| returns reserved vector More...
|
|
◆ back_emplacer()
◆ bind_at()
constexpr internal::bind_obj<Args...> vccc::bind_at |
( |
Args &&... |
args | ) |
|
|
inlineconstexpr |
float x, y;
cv::Point2f p(1.1f, 2.2f);
constexpr internal::bind_obj< Args... > bind_at(Args &&... args)
call at<...>(...) to args...
Definition: at.hpp:116
- Parameters
-
- Returns
- helper class bind_obj
◆ reserved_vector()
std::vector<T, Allocator> vccc::reserved_vector |
( |
typename std::vector< T, Allocator >::size_type |
size | ) |
|
- Template Parameters
-
T | vector element type |
Allocator | vector element allocator(non is specialized) |
- Parameters
-
- Returns
- reserved vector
◆ resize()
decltype(auto) vccc::resize |
( |
T && |
t | ) |
|
|
inline |
If new size is bigger than current type, filling rest is type-defined. This does not fill automatically.
- Template Parameters
-
- Parameters
-
- Returns
- resized data
◆ variadic_at()
decltype(auto) vccc::variadic_at |
( |
Args &&... |
args | ) |
|
|
inline |
- Template Parameters
-
- Parameters
-
- Returns