Program Listing for File char_sign.hpp
↰ Return to documentation for file (include/ecl/config/char_sign.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_CONFIG_CHAR_SIGN_HPP_
#define ECL_CONFIG_CHAR_SIGN_HPP_
/*****************************************************************************
** Includes
*****************************************************************************/
#include <climits>
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace ecl {
inline bool is_char_signed() {
return ((CHAR_MIN == SCHAR_MIN) && (CHAR_MAX == SCHAR_MAX));
}
} // namespace ecl
#endif /* ECL_CONFIG_CHAR_SIGN_HPP_ */