STK++ 0.9.13
STK::hidden::resizeSelector< Lhs, Rhs, TStructure_ > Struct Template Reference

utility class that select the resize method to call More...

#include <STK_AssignSelector.h>

Static Public Member Functions

static void run (Lhs &lhs, ExprBase< Rhs > const &rhs)
 

Detailed Description

template<typename Lhs, typename Rhs, int TStructure_>
struct STK::hidden::resizeSelector< Lhs, Rhs, TStructure_ >

utility class that select the resize method to call

2D general case

Definition at line 196 of file STK_AssignSelector.h.

Member Function Documentation

◆ run()

template<typename Lhs , typename Rhs , int TStructure_>
static void STK::hidden::resizeSelector< Lhs, Rhs, TStructure_ >::run ( Lhs lhs,
ExprBase< Rhs > const rhs 
)
inlinestatic

Definition at line 198 of file STK_AssignSelector.h.

199 { lhs.resize(rhs.rows(), rhs.cols());}

Referenced by STK::ArrayBase< Derived >::assign().


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