impl Namespace Reference#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
rocprofiler::sdk::mpl::impl Namespace Reference
Data Structures | |
struct | is_string_type |
struct | is_string_type< char * > |
struct | is_string_type< const char * > |
Functions | |
template<typename ContainerT , typename... Args> | |
auto | emplace (ContainerT &_c, int, Args &&... _args) -> decltype(_c.emplace_back(std::forward< Args >(_args)...)) |
template<typename ContainerT , typename... Args> | |
auto | emplace (ContainerT &_c, long, Args &&... _args) -> decltype(_c.emplace(std::forward< Args >(_args)...)) |
template<typename ContainerT , typename ArgT > | |
auto | reserve (ContainerT &_c, int, ArgT _arg) -> decltype(_c.reserve(_arg), bool()) |
template<typename ContainerT , typename ArgT > | |
auto | reserve (ContainerT &, long, ArgT) |
Function Documentation
◆ emplace() [1/2]
template<typename ContainerT , typename... Args>
|
inline |
Definition at line 210 of file mpl.hpp.
212{
213 return _c.emplace_back(std::forward<Args>(_args)...);
214}
Referenced by rocprofiler::sdk::mpl::emplace().
Here is the caller graph for this function:
◆ emplace() [2/2]
template<typename ContainerT , typename... Args>
|
inline |
◆ reserve() [1/2]
template<typename ContainerT , typename ArgT >
|
inline |
◆ reserve() [2/2]
template<typename ContainerT , typename ArgT >
|
inline |
Definition at line 225 of file mpl.hpp.
226{
227 _c.reserve(_arg);
228 return true;
229}
Referenced by rocprofiler::sdk::mpl::reserve().
Here is the caller graph for this function:
Generated by 1.9.8