Jonathan B. Coe

Results 19 comments of Jonathan B. Coe

Re: "This may also be an argument for pushing the use of references over non-owning pointers." references have the same const-propagation issues as pointers when used as member variables.

Should we make `indirect_value` non-default constructible or should we live with the API difference? From a teachability standpoint, symmetry is appealing.

See https://github.com/jbcoe/polymorphic_value/issues/91 for implementation guidance.

It looks like this might need language changes: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1029r3.pdf https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1144r2.html

Hi @NikBomb I'm behind on tracking my issues. An opt-in SBO would be really cool. We might want it controlled by some preprocessor definitions so that we can control how...

I believe that SBO can be done purely with allocators. Closing this issue.

Docs need updating to merge this but I want to see what the API and coverage stats look like.

We are abandoning this approach due to undesirable semantics of optional types with pointer-like interfaces.

We've had a very long think about this and it's forced us to make a decision about polymorphic_value supporting a small-buffer optimisation. polymorphic_value is designed to do a strictly better...