tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
tatami::has_data< Type_, Container_, typename > Struct Template Reference

Compile time check for the data() method. More...

#include <has_data.hpp>

Static Public Attributes

static const bool value = false
 

Detailed Description

template<typename Type_, class Container_, typename = int>
struct tatami::has_data< Type_, Container_, typename >

Compile time check for the data() method.

Template Parameters
Type_Expected type of the data.
Container_Class to check for data().

This returns false by default.

Member Data Documentation

◆ value

template<typename Type_ , class Container_ , typename = int>
const bool tatami::has_data< Type_, Container_, typename >::value = false
static

Compile-time constant indicating whether data() exists.


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