2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Example of templates.

[SVN r15173]
This commit is contained in:
Rene Rivera
2002-09-06 03:38:30 +00:00
parent 9d430f5f06
commit 95df2ca6e0
10 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
Copyright (C) 2002, Rene Rivera. Permission to copy, use, modify, sell and
distribute this software is granted provided this copyright notice appears in
all copies. This software is provided "as is" without express or implied
warranty, and with no claim as to its suitability for any purpose.
*/
#include <cstdio>
#include "simple.h"
int main(int /* argc */, char ** /* argv */)
{
for (int i = 0; i < 16; ++i)
{
std::printf("%d * 2 = %d\n",i,lib_call(i));
}
return 0;
}