Add a view_as operator.

This commit is contained in:
David Anderson
2014-11-30 19:08:25 -08:00
parent cb4fdf1aa9
commit 68e0645813
6 changed files with 36 additions and 2 deletions
@@ -0,0 +1,3 @@
public float egg() {
return view_as<void>(10);
}
@@ -0,0 +1 @@
(2) : error 144: void cannot be used as a variable type
@@ -0,0 +1,3 @@
public float egg() {
return view_as<float>(10);
}