Skip to content

Version 1.0.0

Latest
Compare
Choose a tag to compare
@ChristianPanov ChristianPanov released this 17 Jan 00:57
· 24 commits to main since this release

First official release version

What's Added

  • Compile-time static string class with CTAD(no need to specify the string size, it will be deduced from the constructor argument)
  • Compile-time string constructors
    - constexpr basic_static_string() = default;
    - constexpr basic_static_string(const CharT(&arr)[Size]);
    - constexpr basic_static_string(const std::array<CharT, Size>& arr);
    - constexpr basic_static_string(const basic_static_string<CharT, Size>& other);
  • Compile-time string functions
    - constexpr bool empty() const;
    - constexpr std::size_t size() const;
    - constexpr std::size_t length() const;
    - constexpr std::array<CharT, Size> data() const;
  • Compile-time string concatenation