awslabs / aws-crt-cpp

C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Apache License 2.0
73 stars 64 forks source link

Add in-place constructor and emplace method to Optional #600

Closed SergeyRyabinin closed 6 months ago

SergeyRyabinin commented 6 months ago

Issue #, if available: NOW there is no way to avoid copy or move construction of underlying value Description of changes: Provide such option in Optional.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.