max_value< T, size > Struct Template Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Attributes
max_value< T, size > Struct Template Reference

`#include <openbabel/mol.h>`

List of all members.

## Static Public Attributes
static const T | result = (static_cast<T>(0xFF) << (size-1)*8) + max_value<T, size-1>::result

## Detailed Description

### template<typename T, int size = sizeof(T)>
struct OpenBabel::detail::max_value< T, size >

a C++ template to return the maximum value of a type (e.g., int)

## Member Data Documentation

const T result = (static_cast<T>(0xFF) << (size-1)*8) + max_value<T, size-1>::result`[static]`

The documentation for this struct was generated from the following file:

- mol.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines