MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / ~value

Method ~value

docopt_value.h:203–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 inline
204 value::~value()
205 {
206 switch (kind_) {
207 case Kind::String:
208 variant_.strValue.~basic_string();
209 break;
210
211 case Kind::StringList:
212 variant_.strList.~vector();
213 break;
214
215 case Kind::Empty:
216 case Kind::Bool:
217 case Kind::Long:
218 default:
219 // trivial dtor
220 break;
221 }
222 }
223
224 inline
225 value& value::operator=(value const& other) {

Callers 1

docopt_value.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected