gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
HasFromByteStream Concept Reference

Ensures that <T> has a method ::from_bytestream. More...

#include <tof_packet.h>

Concept definition

template<typename T>
concept HasFromByteStream = requires(const Vec<u8>& stream, usize &pos) {
{ T::from_bytestream(stream, pos) } -> std::same_as<T>;
}
Ensures that <T> has a method ::from_bytestream.
Definition tof_packet.h:63

Detailed Description

Ensures that <T> has a method ::from_bytestream.