The Bait and Switch PCL Trick

added by Paul Wheeler
5/7/2014 6:53:25 PM


Some folks on Twitter were debating about how underpowered Portable Libaries are and how shared code is better. Daniel Plaisted has written about one way to expose platform-specific features that works well, but he also taught me a more clever trick once while I was working on Splat. It took me awhile to understand it fully, but it completely changed my approach to building Portable Libraries and made me realize I was totally Doing It Wrong.