mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Mark headers as C++ code with vim filetype
This commit is contained in:
parent
3819df6e37
commit
28d6fd1d50
@ -144,3 +144,5 @@ struct hash<gsl::not_null<T>>
|
||||
#endif // defined(_MSC_VER) && _MSC_VER < 1910
|
||||
|
||||
#endif // GSL_GSL_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -57,3 +57,5 @@ void copy(span<SrcElementType, SrcExtent> src, span<DestElementType, DestExtent>
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_ALGORITHM_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -83,3 +83,5 @@ struct fail_fast : public std::runtime_error
|
||||
#endif
|
||||
|
||||
#endif // GSL_CONTRACTS_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -153,3 +153,5 @@ inline constexpr byte to_byte() noexcept
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_BYTE_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -173,3 +173,5 @@ inline constexpr const T& at(std::initializer_list<T> cont, std::ptrdiff_t index
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_UTIL_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -2219,3 +2219,5 @@ general_span_iterator<Span> operator+(typename general_span_iterator<Span>::diff
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_MULTI_SPAN_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -699,3 +699,5 @@ inline constexpr ElementType& at(const span<ElementType, Extent>& s, std::ptrdif
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_SPAN_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
@ -850,3 +850,5 @@ bool operator>=(const T& one, gsl::basic_string_span<CharT, Extent> other) GSL_N
|
||||
#endif // _MSC_VER
|
||||
|
||||
#endif // GSL_STRING_SPAN_H
|
||||
|
||||
// vim: set filetype=cpp:
|
||||
|
Loading…
Reference in New Issue
Block a user