LSH-Core
Deterministic firmware core for Controllino-based Labo Smart Home nodes
 
Loading...
Searching...
No Matches
cpp_features.hpp File Reference

Centralized C++ feature-detection macros for lsh-core. More...

#include "internal/etl_minmax_push.hpp"
#include <etl/platform.h>
#include "internal/etl_minmax_pop.hpp"
Include dependency graph for cpp_features.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LSH_USING_CPP11   ETL_USING_CPP11
 
#define LSH_USING_CPP14   ETL_USING_CPP14
 
#define LSH_USING_CPP17   ETL_USING_CPP17
 
#define LSH_USING_CPP20   ETL_USING_CPP20
 
#define LSH_USING_CPP23   ETL_USING_CPP23
 
#define LSH_CONSTEXPR   ETL_CONSTEXPR
 
#define LSH_CONSTEXPR11   ETL_CONSTEXPR11
 
#define LSH_CONSTEXPR14   ETL_CONSTEXPR14
 
#define LSH_CONSTEXPR17   ETL_CONSTEXPR17
 
#define LSH_CONSTEXPR20   ETL_CONSTEXPR20
 
#define LSH_OPTIONAL_CONSTEXPR_CTOR
 

Detailed Description

Centralized C++ feature-detection macros for lsh-core.

Author
Jacopo Labardi (labodj)

Mirrors the ETL approach so the codebase can use a single compatibility layer instead of scattering raw __cplusplus checks.

Copyright 2026 Jacopo Labardi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.