On Mon, Aug 3, 2015 at 6:07 PM, Jonas Sicking <jo...@sicking.cc> wrote: > How would you make a factory function like the above fail?
Don't allow for the possibility. If Foo::Create() is directly analogous to new Foo(), then it can't fail. Leave the failing for later method calls. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform