ATLAS Offline Software
assume.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
22 #ifndef ATHCONTAINERS_ASSUME_H
23 #define ATHCONTAINERS_ASSUME_H
24 
25 
26 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
27 # define ATHCONTAINERS_ASSUME(x) do { if (!(x)) __builtin_unreachable(); } while(0)
28 #else
29 # define ATHCONTAINERS_ASSUME(x) do { } while(0)
30 #endif
31 
32 
33 #endif // not ATHCONTAINERS_ASSUME_H