Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jun 29, 2024
1 parent 0645585 commit bbd574a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/pybind11/cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ class type_caster<std::tuple<Ts...>> : public tuple_caster<std::tuple, Ts...> {}
template <>
class type_caster<std::tuple<>> : public tuple_caster<std::tuple> {
public:
// PEP 484 specifies this syntax for an empty tuple
static constexpr auto name = const_name("tuple[()]");
};

Expand Down

0 comments on commit bbd574a

Please sign in to comment.