Add documentation for Windows

This commit is contained in:
Mike Lloyd 2019-04-09 03:15:48 -06:00 committed by Jonathan Müller
commit 55221f1536
3 changed files with 23 additions and 4 deletions

View file

@ -157,8 +157,7 @@ public:
{
user_data_ = data;
}
protected:
/// \effects Creates it giving it the the name.
cpp_entity(std::string name) : name_(std::move(name)), user_data_(nullptr) {}

View file

@ -19,8 +19,7 @@ public:
{
return mutable_;
}
protected:
cpp_member_variable_base(std::string name, std::unique_ptr<cpp_type> type,
std::unique_ptr<cpp_expression> def, bool is_mutable)
: cpp_entity(std::move(name)), cpp_variable_base(std::move(type), std::move(def)),