OSVR-Core
Classes | Namespaces | Typedefs
Contains.h File Reference

Header. More...

#include "ApplyList.h"
#include "Or.h"
#include "Quote.h"
#include "Transform.h"
#include <type_traits>

Go to the source code of this file.

Classes

struct  osvr::typepack::detail::is_< T >
 Bind the first argument of std::is_same. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::typepack
 A simple argument-pack-based metaprogramming library, inspired by and based partially on https://ericniebler.github.io/meta.
 

Typedefs

template<typename Haystack , typename Needle >
using osvr::typepack::contains = apply_list< quote< or_ >, transform< Haystack, detail::is_< Needle >>>
 Determines if type Needle is in the list Haystack - is an alias for a type that inherits std::true_type or std::false_type. More...
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr