-
-
Save AndrejMitrovic/dabc6eb389dd6a8ec479224b6aa67c0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern(C++) public int foo(T)(int function(const(T)* value)); | |
extern(C++) public int bar(T)(int function(ref const(T) value)); | |
void main () | |
{ | |
foo!int(null); | |
bar!int(null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment