19 inline namespace _V1 {
29 void set(
size_t Size,
const void *Val);
31 size_t getSize()
const {
return Bytes.size(); }
33 bool isSet()
const {
return !Bytes.empty(); }
36 std::vector<char> Bytes;
39 std::ostream &
operator<<(std::ostream &Out,
const spec_constant_impl &V);
spec_constant_impl()=default
void set(size_t Size, const void *Val)
const char * getValuePtr() const
spec_constant_impl(size_t Size, const void *Val)
std::map< std::string, spec_constant_impl > SpecConstRegistryT
void stableSerializeSpecConstRegistry(const SpecConstRegistryT &Reg, SerializedObj &Dst)
std::ostream & operator<<(std::ostream &os, std::optional< T > const &opt)
std::vector< unsigned char > SerializedObj