Skip to content

Ramirisu/iris

Repository files navigation

IRIS

Linux CI Windows CI

Integration

CMake

# clone iris as your project's subfolder
add_subdirectory(path/to/iris)

# link against iris with the executable
add_executable(main ...)
target_link_libraries(main PRIVATE iris)

Supported Compilers

  • Visual Studio 2022 17.1 (/std:latest)
  • Visual Studio 2022 17.2 (/std:c++20)
  • GCC 11.2 (-std=c++20)
  • GCC 12.x (-std=c++20)

Features

  • Range Adaptors
    • ranges::join_with_view<Range, Pattern> (P2441R1)
    • ranges::zip_view<Ranges...> (P2321R2)
    • ranges::zip_transform_view<Fn, Ranges...> (P2321R2)
    • ranges::adjacent_view<Range, N> (P2321R2)
    • ranges::adjacent_transform_view<Range, Fn, N> (P2321R2)
    • ranges::chunk_by_view<Range, Pred> (P2443R1)
    • ranges::chunk_view<Range> (P2442R1)
    • ranges::slide_view<Range> (P2442R1)
    • ranges::repeat_view<Value, Bound> (P2474R1)
    • ranges::stride_view<Range> (P1899R2)
    • ranges::as_rvalue_view<Range> (P2446R2)
    • ranges::cartesian_product_view<Ranges...> (P2374R3)
    • ranges::enumerate_view<Range> (P2164R5)
    • ranges::concat_view<Ranges...> (P2542R1)
    • ranges::maybe_view<Nullable> (P1255R7)
    • ranges::unwrap_view<Range>
    • ranges::to_base64_view<Range, Binary, Text>
    • ranges::from_base64_view<Range, Binary, Text>
    • ranges::to_utf_view<Range, Unicode, UTF>
    • ranges::from_utf_view<Range, Unicode, UTF>
  • Range Adaptor Objects
  • Range Utilities
  • Range Algorithms
  • Coroutine Types
  • Type Traits
    • is_scoped_enum (P1048R1)
    • is_specialization_of<T, Template>
    • pack_size<Ts...>
    • pack_element<Index, Ts...>
    • front_of_pack_element<Ts...>
    • back_of_pack_element<Ts...>
  • Utilities

Building

CMake

Options Description Value Default
IRIS_BUILD_EXAMPLE Build examples ON/OFF OFF
IRIS_BUILD_TESTING Build unit tests ON/OFF OFF
cd iris/
cmake -B build -DIRIS_BUILD_EXAMPLE=ON -DIRIS_BUILD_TESTING=ON
cmake --build build
cd build && ctest && cd ..

License

IRIS is distributed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published