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

specialization for the vectors with 1 row 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::VisitorVectorImpl< Visitor, Derived, 1 >

specialization for the vectors with 1 row

Definition at line 371 of file STK_VisitorsImpl.h.

Member Function Documentation

◆ apply()

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

Definition at line 375 of file STK_VisitorsImpl.h.

376 { tab.setValue(tab.begin(), applier());}

◆ run()

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

Definition at line 373 of file STK_VisitorsImpl.h.

374 { visitor(tab.elt(tab.begin()), tab.begin(), tab.colIdx());}

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