Implement fixed size options for rotgen containers
See merge request oss/rotgen!11
This commit is contained in:
parent
8e545dd51a
commit
2084874b1b
39 changed files with 1247 additions and 323 deletions
30
src/info.cpp
Normal file
30
src/info.cpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
//==================================================================================================
|
||||
/*
|
||||
ROTGEN - Runtime Overlay for Eigen
|
||||
Copyright : CODE RECKONS
|
||||
SPDX-License-Identifier: BSL-1.0
|
||||
*/
|
||||
//==================================================================================================
|
||||
#include <rotgen/config.hpp>
|
||||
#include <iostream>
|
||||
|
||||
namespace rotgen
|
||||
{
|
||||
std::ostream& setup_summary(std::ostream& os)
|
||||
{
|
||||
if constexpr(rotgen::is_forcing_dynamic_status)
|
||||
{
|
||||
os << "[ROTGEN] - Fully Dynamic mode" << std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
if constexpr(use_expression_templates)
|
||||
os << "[ROTGEN] - Expression templates : Disabled." << std::endl;
|
||||
else
|
||||
os << "[ROTGEN] - Static/Dynamic mode with maximum size: " << rotgen::max_static_size << std::endl;
|
||||
}
|
||||
|
||||
return os;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue