Monero
Loading...
Searching...
No Matches
misc_language.h File Reference
#include <boost/utility/value_init.hpp>
#include <boost/shared_ptr.hpp>
#include <vector>
Include dependency graph for misc_language.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::misc_utils::call_befor_die_base
struct  epee::misc_utils::call_befor_die< t_scope_leave_handler >
struct  epee::misc_utils::struct_init< T >

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::misc_utils

Macros

#define AUTO_VAL_INIT(v)

Typedefs

typedef boost::shared_ptr< call_befor_die_baseepee::misc_utils::auto_scope_leave_caller

Functions

bool epee::misc_utils::sleep_no_w (long ms)
template<typename T>
T epee::misc_utils::get_mid (const T &a, const T &b)
template<class type_vec_type>
type_vec_type epee::misc_utils::median (std::vector< type_vec_type > &v)
template<class t_scope_leave_handler>
auto_scope_leave_caller epee::misc_utils::create_scope_leave_handler (t_scope_leave_handler f)

Macro Definition Documentation

◆ AUTO_VAL_INIT

#define AUTO_VAL_INIT ( v)
Value:
boost::value_initialized<decltype(v)>()