microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
math.hpp File Reference

Vector and matrix formatting views. More...

#include "../microfmt.hpp"
#include <cstddef>
#include <string_view>
#include <type_traits>
Include dependency graph for math.hpp:

Go to the source code of this file.

Classes

struct  microfmt::vec_view< T, N >
 
struct  microfmt::vec3_view< T >
 
struct  microfmt::formatter< vec_view< T, N > >
 
struct  microfmt::formatter< vec3_view< T > >
 
struct  microfmt::matrix_view< T, Rows, Cols >
 
struct  microfmt::formatter< matrix_view< T, Rows, Cols > >
 

Namespaces

namespace  microfmt
 

Functions

template<typename T , size_t N>
constexpr auto microfmt::vec (const T(&arr)[N]) noexcept
 
template<typename T >
constexpr auto microfmt::vec3 (const T &x, const T &y, const T &z) noexcept
 
template<typename T , size_t Rows, size_t Cols>
constexpr auto microfmt::mat (const T(&arr)[Rows *Cols]) noexcept
 

Detailed Description

Vector and matrix formatting views.