mirror of https://github.com/CGAL/cgal
Use CGAL_USE()
This commit is contained in:
parent
4a410cd3ec
commit
be20f518e7
|
|
@ -8,6 +8,7 @@
|
||||||
#include <CGAL/array.h>
|
#include <CGAL/array.h>
|
||||||
#include <CGAL/tuple.h>
|
#include <CGAL/tuple.h>
|
||||||
#include <CGAL/algorithm.h>
|
#include <CGAL/algorithm.h>
|
||||||
|
#include <CGAL/use.h>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|
@ -17,9 +18,13 @@ int main()
|
||||||
CGAL::cpp0x::tuple<double, int> tuple;
|
CGAL::cpp0x::tuple<double, int> tuple;
|
||||||
CGAL::cpp11::tuple<double, int> tuple2;
|
CGAL::cpp11::tuple<double, int> tuple2;
|
||||||
|
|
||||||
|
CGAL_USE(tuple);
|
||||||
|
CGAL_USE(tuple2);
|
||||||
|
|
||||||
#ifndef CGAL_NO_DEPRECATED_CODE
|
#ifndef CGAL_NO_DEPRECATED_CODE
|
||||||
CGAL::copy_n(arr.begin(), 3, arr2.begin());
|
CGAL::copy_n(arr.begin(), 3, arr2.begin());
|
||||||
#endif // not CGAL_NO_DEPRECATED_CODE
|
#endif // not CGAL_NO_DEPRECATED_CODE
|
||||||
|
|
||||||
CGAL::cpp0x::copy_n(arr.begin(), 3, arr2.begin());
|
CGAL::cpp0x::copy_n(arr.begin(), 3, arr2.begin());
|
||||||
CGAL::cpp11::copy_n(arr.begin(), 3, arr2.begin());
|
CGAL::cpp11::copy_n(arr.begin(), 3, arr2.begin());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue