mirror of https://github.com/CGAL/cgal
inline; clean CMakeLists
This commit is contained in:
parent
f86e569613
commit
00cf5f937d
|
|
@ -281,16 +281,16 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
// See: Stream_support/include/CGAL/IO/io.h
|
||||||
template <typename ET>
|
template <typename ET>
|
||||||
void read_float_or_quotient(std::istream & is, ET& et);
|
void read_float_or_quotient(std::istream & is, ET& et);
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
void read_float_or_quotient(std::istream & is, leda_rational& et)
|
inline void read_float_or_quotient(std::istream & is, leda_rational& et)
|
||||||
{
|
{
|
||||||
internal::read_float_or_quotient<leda_integer,leda_rational>(is, et);
|
internal::read_float_or_quotient<leda_integer,leda_rational>(is, et);
|
||||||
}
|
}
|
||||||
}
|
} // namespace internal
|
||||||
|
|
||||||
|
|
||||||
} //namespace CGAL
|
} //namespace CGAL
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -419,7 +419,7 @@ void eat_white_space(std::istream &is)
|
||||||
|
|
||||||
|
|
||||||
template <typename ET>
|
template <typename ET>
|
||||||
void read_float_or_quotient(std::istream & is, ET& et)
|
inline void read_float_or_quotient(std::istream & is, ET& et)
|
||||||
{
|
{
|
||||||
is >> et;
|
is >> et;
|
||||||
}
|
}
|
||||||
|
|
@ -427,7 +427,7 @@ void read_float_or_quotient(std::istream & is, ET& et)
|
||||||
|
|
||||||
|
|
||||||
template <typename Int, typename Rat>
|
template <typename Int, typename Rat>
|
||||||
void read_float_or_quotient(std::istream& is, Rat &z)
|
inline void read_float_or_quotient(std::istream& is, Rat &z)
|
||||||
{
|
{
|
||||||
// reads rational and floating point literals.
|
// reads rational and floating point literals.
|
||||||
const std::istream::char_type zero = '0';
|
const std::istream::char_type zero = '0';
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ if ( CGAL_FOUND )
|
||||||
|
|
||||||
include_directories (BEFORE "../../include")
|
include_directories (BEFORE "../../include")
|
||||||
|
|
||||||
create_single_source_cgal_program( "read.cpp" )
|
|
||||||
create_single_source_cgal_program( "sm_join.cpp" )
|
create_single_source_cgal_program( "sm_join.cpp" )
|
||||||
create_single_source_cgal_program( "sm_aabbtree.cpp" )
|
create_single_source_cgal_program( "sm_aabbtree.cpp" )
|
||||||
create_single_source_cgal_program( "sm_bgl.cpp" )
|
create_single_source_cgal_program( "sm_bgl.cpp" )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue