From c6fefe5d8e3eda8af05c7dcb278551598dbb5d8e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 5 Nov 2014 16:15:17 +0100 Subject: Big 853: replace enable_if in Ref<> ctor by static assertions and add failtests for Ref<> --- test/ref.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/ref.cpp') diff --git a/test/ref.cpp b/test/ref.cpp index d91e3b54c..b9470213c 100644 --- a/test/ref.cpp +++ b/test/ref.cpp @@ -182,15 +182,15 @@ void call_ref() VERIFY_EVALUATION_COUNT( call_ref_1(a,a), 0); VERIFY_EVALUATION_COUNT( call_ref_1(b,b.transpose()), 0); -// call_ref_1(ac); // does not compile because ac is const +// call_ref_1(ac,a