mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
This commit is contained in:
parent
6b8264fb24
commit
13936bb258
@ -242,7 +242,8 @@ constexpr descr<N, Ts...> concat(const descr<N, Ts...> &descr) {
|
||||
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2>
|
||||
constexpr descr<N1 + N2 + 2, Ts1..., Ts2...> operator,(const descr<N1, Ts1...> &a,
|
||||
const descr<N2, Ts2...> &b) {
|
||||
return a + const_name(", ") + b;
|
||||
// Ensure that src_loc of existing descr is used.
|
||||
return a + const_name(", ", src_loc{nullptr, 0}) + b;
|
||||
}
|
||||
|
||||
template <size_t N, typename... Ts, typename... Args>
|
||||
|
Loading…
Reference in New Issue
Block a user