DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n > Struct Template Reference

Eigen::Matrix wrapper that hides begin/end from fmt. More...

#include <EigenUtil.hpp>

Inheritance diagram for Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >:
[legend]
Collaboration diagram for Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >:
[legend]

Public Types

using Base = Matrix< T, M, N, options, max_m, max_n >
 

Public Member Functions

void begin ()=delete
 Deleted to hide range interface from fmt.
 
void end ()=delete
 Deleted to hide range interface from fmt.
 

Detailed Description

template<class T, int M, int N, int options = AutoAlign | ((M == 1 && N != 1) ? Eigen ::RowMajor : !(M == 1 && N != 1) ? Eigen ::ColMajor : Eigen ::ColMajor), int max_m = M, int max_n = N>
struct Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >

Eigen::Matrix wrapper that hides begin/end from fmt.

When both fmt/ranges.h and Eigen are present, the fmt range formatter picks up Eigen::Matrix via its iterator interface and renders it as a bracketed list ([1, 2, 3]). This disables Eigen's stream formatting path. This wrapper inherits from Eigen::Matrix but deletes begin / end, so fmt falls back to the ostream formatter.

Use this type (or its VectorFMTSafe / RowVectorFMTSafe aliases) wherever Eigen objects need to pass through fmt::format.

Definition at line 61 of file EigenUtil.hpp.

Member Typedef Documentation

◆ Base

template<class T , int M, int N, int options = AutoAlign | ((M == 1 && N != 1) ? Eigen ::RowMajor : !(M == 1 && N != 1) ? Eigen ::ColMajor : Eigen ::ColMajor), int max_m = M, int max_n = N>
using Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >::Base = Matrix<T, M, N, options, max_m, max_n>

Definition at line 63 of file EigenUtil.hpp.

Member Function Documentation

◆ begin()

template<class T , int M, int N, int options = AutoAlign | ((M == 1 && N != 1) ? Eigen ::RowMajor : !(M == 1 && N != 1) ? Eigen ::ColMajor : Eigen ::ColMajor), int max_m = M, int max_n = N>
void Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >::begin ( )
delete

Deleted to hide range interface from fmt.

◆ end()

template<class T , int M, int N, int options = AutoAlign | ((M == 1 && N != 1) ? Eigen ::RowMajor : !(M == 1 && N != 1) ? Eigen ::ColMajor : Eigen ::ColMajor), int max_m = M, int max_n = N>
void Eigen::MatrixFMTSafe< T, M, N, options, max_m, max_n >::end ( )
delete

Deleted to hide range interface from fmt.


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