![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <stdarg.h>
#include <stdint.h>
#include <string>
#include <vector>
#include <sstream>
#include <locale>
#include <fmt/format.h>
#include "XBDateTime.h"
#include "utils/params_check_macros.h"
Classes | |
struct | remove_rvalue_reference< T > |
struct | remove_rvalue_reference< T & > |
struct | remove_rvalue_reference< T * > |
struct | remove_rvalue_reference< T && > |
class | StringUtils |
struct | sortstringbyname |
Macros | |
#define | DEF_TO_STR_NAME(x) #x |
C-processor Token stringification. More... | |
#define | DEF_TO_STR_VALUE(x) DEF_TO_STR_NAME(x) |
Typedefs | |
template<bool B, class T = void> | |
using | enable_if_t = typename std::enable_if< B, T >::type |
Functions | |
template<typename T , enable_if_t<!std::is_enum< T >::value, int > = 0> | |
constexpr auto | EnumToInt (T &&arg) noexcept -> typename remove_rvalue_reference< decltype(arg)>::type |
#define DEF_TO_STR_NAME | ( | x | ) | #x |
C-processor Token stringification.
The following macros can be used to stringify definitions to C style strings.
Example:
#define foo 4 DEF_TO_STR_NAME(foo) // outputs "foo" DEF_TO_STR_VALUE(foo) // outputs "4"
#define DEF_TO_STR_VALUE | ( | x | ) | DEF_TO_STR_NAME(x) |
using enable_if_t = typename std::enable_if<B,T>::type |
|
constexprnoexcept |