Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial C++11 move support #128

Merged
merged 12 commits into from
Sep 3, 2014
Merged

Initial C++11 move support #128

merged 12 commits into from
Sep 3, 2014

Commits on Aug 31, 2014

  1. GenericValue: add move constructor/move assignment

    When C++11 is enabled, several algorithms will fail, if GenericValue is
    neither copyable, nor movable.
    
    Cherry-picked from 8005b55.
    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    1beec85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    defc3aa View commit details
    Browse the repository at this point in the history
  3. meta.h: disallow direct inclusion

    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    5f6967b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a16fe36 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5656078 View commit details
    Browse the repository at this point in the history
  6. 4 Configuration menu
    Copy the full SHA
    c1c9ba7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a9d2b75 View commit details
    Browse the repository at this point in the history
  8. GenericValue: add rvalue-ref overloads to AddMember/PushBack

    Directly allows temporary GenericValues as parameters:
      v.AddMember("foo", Value(s.c_str(),alloc), alloc);
    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    b5f9d60 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    36031b1 View commit details
    Browse the repository at this point in the history
  10. GenericValue: add RAPIDJSON_NOEXCEPT

    Added basic detection of `noexcept` support for some compilers, added
    corresponding RAPIDJSON_NOEXCEPT annotations to
     * non-allocating constructors
     * (move) assignment
     * Swap
    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    5672d24 View commit details
    Browse the repository at this point in the history
  11. GenericValue: add some more RAPIDJSON_NOEXCEPT

     * Move()
     * RawAssign()
     * SetStringRaw()
    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    56625bd View commit details
    Browse the repository at this point in the history
  12. GenericStringRef: add NOEXCEPT, add ASSERT

     * constructor from array is RAPIDJSON_NOEXCEPT
     * constructor from plain pointer missed an assert
    pah committed Aug 31, 2014
    Configuration menu
    Copy the full SHA
    8ae2266 View commit details
    Browse the repository at this point in the history