opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
vector_functions.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <cstddef>
7
8namespace osc
9{
10 template<Scalar T, size_t N>
11 constexpr const T* value_ptr(const Vector<T, N>& vec)
12 {
13 return vec.data();
14 }
15
16 template<Scalar T, size_t N>
18 {
19 return vec.data();
20 }
21}
Definition vector.h:63
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56
constexpr const T * value_ptr(const Rgba< T > &rgba)
Definition rgba.h:180