MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types
mds::SSelect< Flag, T, U > Struct Template Reference

Selects one of two types based upon a boolean constant. More...

#include <mdsTemplates.h>

Inheritance diagram for mds::SSelect< Flag, T, U >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T RESULT

Detailed Description

template<bool Flag, typename T, typename U>
struct mds::SSelect< Flag, T, U >

Selects one of two types based upon a boolean constant.

Result evaluates to T if Flag is true, and to U otherwise.


Member Typedef Documentation

template<bool Flag, typename T, typename U>
typedef T mds::SSelect< Flag, T, U >::RESULT

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