mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
add comment
This commit is contained in:
parent
0645585d2d
commit
bbd574afa5
@ -743,6 +743,7 @@ class type_caster<std::tuple<Ts...>> : public tuple_caster<std::tuple, Ts...> {}
|
|||||||
template <>
|
template <>
|
||||||
class type_caster<std::tuple<>> : public tuple_caster<std::tuple> {
|
class type_caster<std::tuple<>> : public tuple_caster<std::tuple> {
|
||||||
public:
|
public:
|
||||||
|
// PEP 484 specifies this syntax for an empty tuple
|
||||||
static constexpr auto name = const_name("tuple[()]");
|
static constexpr auto name = const_name("tuple[()]");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user