Got rid of few warnings in CppCon examples. Further fixes to var based on transparent wrapper