Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Codecs::Movable Concept Reference

#include <haio_codec.hpp>

Concept definition

template<Color From, Color To>
concept Movable = requires (Bytes s, std::span<uint8_t> d, Size z) { { Move<From, To>(s, d, z) } -> std::same_as<Result<void>>; }
Result< void > Move(Bytes src, std::span< uint8_t > dst, Size size)=delete
std::span< const uint8_t > Bytes

Detailed Description

is there a loop from one colour to the other, asked of the pair rather than answered by hand.

Definition at line 232 of file haio_codec.hpp.