Skip to content

Iterator-based APIs #9

Closed
Closed

Description

@swinbank

From the readme:

a problem remains in that STL types dominate the public interface (primarily string parameters to the model object initialize/set methods). As it currently stands, developers that forgo STL entirely (rolling their own strings/containers/etc...) are forced to create many temporaries...

Should I be worried that you're not using the canonical C++ technique for working with generic strings and containers? The standard algorithms library is the perfect reference. The Boost String Algorithms library is another one.

At any rate, I am happy to finally see any kind of native API for AWS.

Activity

  1. JonathanHenson commented on Sep 5, 2015

    @JonathanHenson
    Contributor

    This isn't quite true anymore, check one of the model header files for
    dynamodb or something and see if that works for you.
    On Sep 5, 2015 4:47 PM, "Joe Swinbank" notifications@github.com wrote:

    From the readme:

    a problem remains in that STL types dominate the public interface (primarily string parameters to the model object initialize/set methods). As it currently stands, developers that forgo STL entirely (rolling their own strings/containers/etc...) are forced to create many temporaries...

    Should I be worried that you're not using the canonical C++ technique for
    working with generic strings and containers? The standard
    http://www.cplusplus.com/reference/algorithm/ library is the perfect
    reference. The Boost String Algorithms
    http://www.boost.org/doc/libs/1_59_0/doc/html/string_algo/quickref.html
    library is another good example for working with generic strings (including
    char*).

    At any rate, I am happy to finally see any kind of native API for AWS.

    —
    Reply to this email directly or view it on GitHub
    #9.

  2. swinbank commented on Sep 6, 2015

    @swinbank
    Author

    The dynamodb stuff looks good, although many of the core types used in it, like AWSCredentials and the HTTP classes, still use Aws::String quite a bit.

    I should mention that this doesn't actually affect me, since my own string class interoperates with std::string, but I figured I would go ahead and raise the issue since most C++ developers are used to working with iterators and templates.

  3. singku commented on Mar 28, 2018

    @singku
    Contributor

    Is this still a problem for you?

  4. added
    feature-requestA feature should be added or improved.
    guidanceQuestion that needs advice or information.
    and removed on Apr 19, 2019
  5. added 3 commits that reference this issue on May 22, 2022
  6. added a commit that references this issue on Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions