ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
a_util Namespace Reference

Serves as the root component, with common functionality documented in core functionality. More...

Namespaces

namespace  chrono
 Serves as component for code compatibility to std::chrono.
 
namespace  concurrency
 Serves as component for concurrency handling, mainly but not exclusively for code compatibility to standard thread support.
 
namespace  datetime
 Serves as component for date and time handling.
 
namespace  experimental
 Serves as component for features which are considered experimental.
 
namespace  filesystem
 Serves as component for path and filesystem functionality.
 
namespace  logging
 Serves as component for basic logging functionality.
 
namespace  memory
 Serves as component for memory access and management.
 
namespace  parser
 Serves as component for common parsing functionality.
 
namespace  preprocessor
 Solely used to structure documentation for preprocessor functionality.
 
namespace  process
 Serves as component for interaction with operating system processes.
 
namespace  regex
 Serves as component for regular expression functionality.
 
namespace  result
 Serves as component for functionality handling error and return types.
 
namespace  strings
 Serves as component for string handling and conversion functionality.
 
namespace  system
 Serves as component for portable OS (Windows, Linux, ...) functionality.
 
namespace  variant
 Serves as component for C++17 std::variant like functionality.
 
namespace  xml
 Serves as component for handling XML.
 

Classes

struct  is_explicitly_convertible_to
 Checks if there is an explicitly defined conversion from U to T. More...
 
class  ScopeGuard
 Scope guard executing a callable object of type F on scope exit. More...
 
struct  underlying_type_or_type
 Retrieves the underlying type if T is an enum, otherwise the type itself. More...
 
struct  underlying_type_or_type< T, true >
 Retrieves the underlying type of the enum type T. More...
 

Typedefs

template<class T, bool is_enum = std::is_enum_v<T>>
using underlying_type_or_type_t = typename underlying_type_or_type<T, is_enum>::type
 Retrieves the underlying type if T is an enum, otherwise the type itself.
 

Enumerations

enum class  SortingOrder : std::int32_t { ascending = 0x00 , descending = 0x01 }
 Flags for functions that need to sort elements. More...
 

Functions

template<class F>
auto scopeExit (F &&f)
 Creates a scope guard executing callable f on scope exit.
 
template<typename T>
void maybe_unused (T &&)
 Mimics C++17 attribute maybe_unused to silence compiler warnings on potentially unused enitities.
 

Variables

template<class T, class U>
constexpr bool is_explicitly_convertible_to_v = is_explicitly_convertible_to<T, U>::value
 Helper variable template for is_explicitly_convertible_to.
 

Detailed Description

Serves as the root component, with common functionality documented in core functionality.

Enumeration Type Documentation

◆ SortingOrder

enum class SortingOrder : std::int32_t
strong

Flags for functions that need to sort elements.

Enumerator
ascending 

Sort in ascending order.

descending 

Sort in descending order.

Definition at line 23 of file enums.h.