Functions: Various improvements to the spans and generic data structures
Most of this code is covered by unit tests.
This commit is contained in:
@@ -135,6 +135,10 @@ class MFSignatureBuilder {
|
||||
{
|
||||
this->mutable_(name, MFDataType::ForSingle(type));
|
||||
}
|
||||
template<typename T> void vector_mutable(StringRef name)
|
||||
{
|
||||
this->vector_mutable(name, CPPType::get<T>());
|
||||
}
|
||||
void vector_mutable(StringRef name, const CPPType &base_type)
|
||||
{
|
||||
this->mutable_(name, MFDataType::ForVector(base_type));
|
||||
|
Reference in New Issue
Block a user