Skip to content

Commit

Permalink
ROL: remove unneeded specialized std::is_pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaned committed Jan 19, 2018
1 parent 91e5635 commit 68417e1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/rol/src/compatibility/teuchos/rcp/ROL_Ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,6 @@ template<class T> using Ptr = Teuchos::RCP<T>;

static const Teuchos::ENull nullPtr = Teuchos::null;

}

namespace std {

template<class T>
struct is_pointer<ROL::Ptr<T>> : public std::true_type { };

}

namespace ROL {

// Special case handling until C++14 (auto type deduction) is required
// because template type deduction does not work for initializer_list here.

Expand Down

0 comments on commit 68417e1

Please sign in to comment.