char_sign.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_CONFIG_CHAR_SIGN_HPP_
13 #define ECL_CONFIG_CHAR_SIGN_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <climits>
20 
21 /*****************************************************************************
22 ** Namespaces
23 *****************************************************************************/
24 
25 namespace ecl {
26 
35 inline bool is_char_signed() {
36 
37  return ((CHAR_MIN == SCHAR_MIN) && (CHAR_MAX == SCHAR_MAX));
38 }
39 
40 
41 } // namespace ecl
42 
43 #endif /* ECL_CONFIG_CHAR_SIGN_HPP_ */
ecl::is_char_signed
bool is_char_signed()
Determines if your platform char type is signed or otherwise.
Definition: char_sign.hpp:41
ecl
Definition: char_sign.hpp:25


ecl_config
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:13:53