lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master b9082a3 1/4: Improve concinnity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b9082a3 1/4: Improve concinnity
Date: Thu, 6 Apr 2017 09:17:42 -0400 (EDT)

branch: master
commit b9082a3cc4c6629eb8e5e698166006e56c644575
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve concinnity
    
    Swapped template parameters to match the order of bourn_cast<To, From>
    and of other unit tests. The (changed) order for test_signednesses() is
    arbitrary anyway because it is called with every possible combination
    of parameter values.
---
 bourn_cast_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bourn_cast_test.cpp b/bourn_cast_test.cpp
index 57c5d19..b85b227 100644
--- a/bourn_cast_test.cpp
+++ b/bourn_cast_test.cpp
@@ -77,7 +77,7 @@ void test_same(char const* file, int line)
 
 /// Test casts involving two possibly different signednesses.
 
-template<bool SignedFrom, bool SignedTo>
+template<bool SignedTo, bool SignedFrom>
 void test_signednesses(char const* file, int line)
 {
     using CS = signed char;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]