32 lines
764 B
C++
32 lines
764 B
C++
#pragma once
|
|
|
|
namespace ts {
|
|
/* some inlineable implementations */
|
|
inline command_bulk command::operator[](size_t index) {
|
|
return this->bulk(index);
|
|
}
|
|
|
|
inline command_entry command::operator[](const std::string &key) {
|
|
return this->value(key);
|
|
}
|
|
|
|
inline command_entry command_bulk::operator[](const std::string &key) {
|
|
return this->value(key);
|
|
}
|
|
|
|
inline const command_bulk command::operator[](size_t index) const {
|
|
return this->bulk(index);
|
|
}
|
|
|
|
inline const command_entry command::operator[](const std::string &key) const {
|
|
return this->value(key);
|
|
}
|
|
|
|
inline const command_entry command_bulk::operator[](const std::string &key) const {
|
|
return this->value(key);
|
|
}
|
|
}
|
|
|
|
#ifndef WIN32
|
|
using ts::descriptor::tliterals::operator""_tstr;
|
|
#endif |