:github_url: https://github.com/svenevs/exhale-companion .. _program_listing_file_ellcpp_ell_assert.hpp: Program Listing for File ell_assert.hpp ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``ellcpp/ell_assert.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #if defined(__clang__) || defined(__GNUC__) #define ELL_LIKELY(x) __builtin_expect(!!(x), 1) #define ELL_UNLIKELY(x) __builtin_expect(!!(x), 0) #else #define ELL_LIKELY(x) (!!(x)) #define ELL_UNLIKELY(x) (!!(x)) #endif