From 50a78e613567c44c415c2ebc294089ff1e60493f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 10 Oct 2017 09:22:20 +0200 Subject: compat/util: remove macro and typedefs --- compat/util.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'compat/util.hpp') diff --git a/compat/util.hpp b/compat/util.hpp index cd0dbdef..c0d3e3fd 100644 --- a/compat/util.hpp +++ b/compat/util.hpp @@ -20,14 +20,6 @@ #define prog1(x, ...) (([&]() { auto _ret1324 = (x); do { __VA_ARGS__; } while (0); return _ret1324; })()) #define once_only(...) do { static bool once = false; if (!once) { once = true; __VA_ARGS__; } } while(false) -#define load_time_value(x) \ - progn( \ - static const auto _value132((x)); \ - return static_cast(value132); \ - ) - -template using mem = std::shared_ptr; -template using ptr = std::unique_ptr; template inline int iround(const t& val) -- cgit v1.2.3