Rename all C++0x to C++11 and cpp0x to cpp11

This commit is contained in:
William S Fulton 2013-10-07 20:37:00 +01:00
commit 738cc36aab
52 changed files with 307 additions and 307 deletions

View file

@ -1,28 +0,0 @@
import cpp0x_lambda_functions.*;
public class cpp0x_lambda_functions_runme {
static {
try {
System.loadLibrary("cpp0x_lambda_functions");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
System.exit(1);
}
}
private static void check(int received, int expected) {
if (expected != received)
throw new RuntimeException("check failed, expected: " + expected + " received: " + received);
}
public static void main(String argv[])
{
check(cpp0x_lambda_functions.runLambda1(), 11);
check(cpp0x_lambda_functions.runLambda2(), 11);
check(cpp0x_lambda_functions.runLambda3(), 11);
check(cpp0x_lambda_functions.runLambda4(), 11);
check(cpp0x_lambda_functions.runLambda5(), 1);
check(cpp0x_lambda_functions.runLambda5(), 2);
}
}