- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 01 Oct 2013 20:22:54 +1000
- To: Elliott Sprehn <esprehn@gmail.com>
- CC: Simon Pieters <simonp@opera.com>, "www-style@w3.org" <www-style@w3.org>, Alan Stearns <stearns@adobe.com>
Simon Pieters: > You can make the return value sequence<(Region or Element or > PseudoElement)> Elliott Sprehn wrote: > That still requires multiple inheritance, what type do you represent > that as in the C++? > > I'd rather we didn't have to implement some kind of abstract common base > class to PseudoElement and Element just for Regions. I don't think it necessarily requires multiple inheritance. Maybe in your C++ layer you need to tag the values so you know what type they are, but if your getRegions() function can directly create a JS Array object to return then you wouldn't even need that.
Received on Tuesday, 1 October 2013 10:23:33 UTC