alternatives or complements to layers

Simon Ochsenreither simon at ochsenreither.de
Wed Jan 7 14:16:29 UTC 2015


> If you're authoring a generic class and call one of these overloaded
> methods, which one is called? What's the return value (for non void
> ones)? The final target method is only known when a user instantiates
> your class and provides the type, but not at authorship.
Which overloaded methods? The standard rules for generic methods apply. The only question I raised was whether calls without BMA (e. g. existing code) could be made to "just work", so that Object+8-primitive-overloads could be migrated to any-T without breaking existing callers.



More information about the valhalla-dev mailing list