On Fri, Jul 3, 2015 at 8:56 AM, Neil <n...@parkwaycc.co.uk> wrote:

> Sure, but that won't stop someone from writing Arg<Foo> foo =
> ReturnFoo2(); will it?
>
> Something like that is fairly trivial for a static analysis system like
our clang plugin to catch, if we want to create a type like that.
Restricting certain types to only exist in temporaries and parameter
declarations would not be too hard.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to