| 73 | |
| 74 | template <typename T, typename AttributeTypeT> |
| 75 | inline bool CheckIfSetToOnlyValidValue(const AttributeTypeT& value, T allowed_value) { |
| 76 | return boost::get<T>(value) == allowed_value; |
| 77 | } |
| 78 | |
| 79 | template <typename BUILDER, typename T> |
| 80 | Status AppendToBuilder(BUILDER& builder, std::optional<T> opt_value) { |
no outgoing calls
no test coverage detected