Visual Computing Library
Loading...
Searching...
No Matches
vcl::GetTypeByCondition< Pred, Args > Struct Template Reference

The the first type of a pack that satisfies the given condition. More...

#include <vclib/types/filter_types.h>

Public Types

using type = FirstTypeT< ResTypes >
 

Private Types

using ResTypes = FilterTypesByCondition< Pred, Args... >::type
 

Detailed Description

template<template< typename > typename Pred, typename... Args>
struct vcl::GetTypeByCondition< Pred, Args >

The the first type of a pack that satisfies the given condition.

Usage:

// the first integral type is char
using ResType =
static_assert(std::is_same<ResType, char>::value, "");
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43

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