mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Example of templates.
[SVN r15173]
This commit is contained in:
13
v1/example/template_use/sub/simple_lib.cpp
Normal file
13
v1/example/template_use/sub/simple_lib.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
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 "simple.h"
|
||||
|
||||
int lib_call(int x)
|
||||
{
|
||||
return x*2;
|
||||
}
|
||||
Reference in New Issue
Block a user