File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
clang_format =` which clang-format `
15
15
format : $(shell find . -name '* .hpp') $(shell find . -name '* .cpp')
16
- ifeq ($(findstring version 10,$(shell ${clang_format} --version 2>/dev/null) ) ,)
17
- @echo "clang-format 10 is required"
18
- else
19
16
@${clang_format} -i $?
20
- endif
Original file line number Diff line number Diff line change 28
28
#endif
29
29
// clang-format on
30
30
31
- #include " cpp11/altrep.hpp"
32
31
#include < type_traits>
32
+ #include " cpp11/altrep.hpp"
33
33
34
34
namespace cpp11 {
35
35
namespace literals {
@@ -49,12 +49,14 @@ template <typename T>
49
49
inline T na ();
50
50
51
51
template <typename T>
52
- inline typename std::enable_if<!std::is_same<T, double >::value, bool >::type is_na (T value) {
52
+ inline typename std::enable_if<!std::is_same<T, double >::value, bool >::type is_na (
53
+ T value) {
53
54
return value == na<T>();
54
55
}
55
56
56
57
template <typename T>
57
- inline typename std::enable_if<std::is_same<T, double >::value, bool >::type is_na (T value) {
58
+ inline typename std::enable_if<std::is_same<T, double >::value, bool >::type is_na (
59
+ T value) {
58
60
return ISNA (value);
59
61
}
60
62
You can’t perform that action at this time.
0 commit comments