STK++ 0.9.13
STK::hidden::VisitorNumberImpl< Visitor, Derived > Struct Template Reference

specialization for the general case with 1 row and 1 column arrays. More...

#include <STK_VisitorsImpl.h>

Static Public Member Functions

static void run (Derived const &tab, Visitor &visitor)
 
static void apply (Derived &tab, Visitor &applier)
 

Detailed Description

template<typename Visitor, typename Derived>
struct STK::hidden::VisitorNumberImpl< Visitor, Derived >

specialization for the general case with 1 row and 1 column arrays.

This specialization allow to disambiguate instantiation.

Definition at line 543 of file STK_VisitorsImpl.h.

Member Function Documentation

◆ apply()

template<typename Visitor , typename Derived >
static void STK::hidden::VisitorNumberImpl< Visitor, Derived >::apply ( Derived &  tab,
Visitor applier 
)
inlinestatic

Definition at line 547 of file STK_VisitorsImpl.h.

548 { tab.setValue(tab.beginRows(), tab.beginCols(), applier());}

◆ run()

template<typename Visitor , typename Derived >
static void STK::hidden::VisitorNumberImpl< Visitor, Derived >::run ( Derived const tab,
Visitor visitor 
)
inlinestatic

Definition at line 545 of file STK_VisitorsImpl.h.

546 { visitor(tab.elt(), tab.beginRows(), tab.beginCols());}

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