tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
Roadmap

Features

Ranges

  • common_reference: Needed for a lot of concepts

Testing

QEMU

  • Run unit test & examples on QEMU emulations.
  • Via CMAKE_CROSSCOMPILING_EMULATOR
    • For Emscripten this is set to node in the CMake toolchain file

clang-verify

Test that static assertion fire when they should.

// test.cpp
#include <etl/array.hpp>
// expected-error@*:* {{static assertion failed due to requirement '2UL < 2UL': array index out of range}}
auto v = etl::get<2>(etl::array<int, 2>{}); // expected-note {{in instantiation of function template specialization 'etl::get<2UL, int, 2UL>' requested here}}
constexpr auto get(complex< X > &z) noexcept -> X &
Definition complex.hpp:92
A container that encapsulates fixed size arrays.
Definition array.hpp:48
clang -Xclang -verify -c -std=c++20 -Iinclude test.cpp