OpenMS
Loading...
Searching...
No Matches
CheckedCast.h File Reference
#include <OpenMS/CONCEPT/Exception.h>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 

Functions

template<typename Target , typename Source >
Target checkedCast (Source value)
 Convert an integer without silently wrapping or truncating an out-of-range value.