C++11 sucks
This commit is contained in:
parent
55a279fade
commit
f17f03befa
|
@ -249,8 +249,8 @@ public:
|
||||||
NO_YIELD
|
NO_YIELD
|
||||||
};
|
};
|
||||||
struct Function {
|
struct Function {
|
||||||
Action action = Action::NO_ACTION;
|
Action action;
|
||||||
Yield yield = Yield::NO_YIELD;
|
Yield yield;
|
||||||
std::string returnType;
|
std::string returnType;
|
||||||
};
|
};
|
||||||
struct RangeItemRecordTypeItem {
|
struct RangeItemRecordTypeItem {
|
||||||
|
|
|
@ -8166,11 +8166,12 @@ private:
|
||||||
vector.startPattern2 = "Vector !!::";
|
vector.startPattern2 = "Vector !!::";
|
||||||
vector.type_templateArgNo = 0;
|
vector.type_templateArgNo = 0;
|
||||||
vector.arrayLike_indexOp = true;
|
vector.arrayLike_indexOp = true;
|
||||||
using Action = Library::Container::Action;
|
vector.functions["front"] =
|
||||||
using Yield = Library::Container::Yield;
|
Library::Container::Function{Library::Container::Action::NO_ACTION, Library::Container::Yield::ITEM};
|
||||||
vector.functions["front"] = Library::Container::Function{ Action::NO_ACTION, Yield::ITEM, "" };
|
vector.functions["data"] =
|
||||||
vector.functions["data"] = Library::Container::Function{ Action::NO_ACTION, Yield::BUFFER, "" };
|
Library::Container::Function{Library::Container::Action::NO_ACTION, Library::Container::Yield::BUFFER};
|
||||||
vector.functions["begin"] = Library::Container::Function{ Action::NO_ACTION, Yield::START_ITERATOR, "" };
|
vector.functions["begin"] = Library::Container::Function{Library::Container::Action::NO_ACTION,
|
||||||
|
Library::Container::Yield::START_ITERATOR};
|
||||||
set.library.containers["Vector"] = vector;
|
set.library.containers["Vector"] = vector;
|
||||||
Library::Container string;
|
Library::Container string;
|
||||||
string.startPattern = "test :: string";
|
string.startPattern = "test :: string";
|
||||||
|
|
Loading…
Reference in New Issue