Skip to content

Commit a4f8b51

Browse files
committed
Deprecate libMesh::boostcopy::enable_if_c
We shouldn't need this any more; std::enable_if was in C++11!
1 parent c11f71a commit a4f8b51

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

include/utils/compare_types.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
namespace libMesh
3232
{
3333

34-
// Copy of boost's enable_if_c
35-
34+
// Copy of boost's enable_if_c - needed before we had std::enable_if
35+
#ifdef LIBMESH_ENABLE_DEPRECATED
3636
namespace boostcopy {
3737
template <bool B, class T = void>
3838
struct enable_if_c {
@@ -42,6 +42,7 @@ struct enable_if_c {
4242
template <class T>
4343
struct enable_if_c<false, T> {};
4444
}
45+
#endif // LIBMESH_ENABLE_DEPRECATED
4546

4647

4748
// TypesEqual takes two types as parameters.

0 commit comments

Comments
 (0)