Skip to content

Commit

Permalink
Update .codespell-ignore-lines for tests/pure_cpp/smart_holder_poc_te…
Browse files Browse the repository at this point in the history
…st.cpp
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Jul 2, 2024
1 parent 107bcf9 commit 9e3cdf7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .codespell-ignore-lines
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ template <op_id id, op_type ot, typename L, typename R>
template <detail::op_id id, detail::op_type ot, typename L, typename R, typename... Extra>
class_ &def(const detail::op_<id, ot, L, R> &op, const Extra &...extra) {
class_ &def_cast(const detail::op_<id, ot, L, R> &op, const Extra &...extra) {
int valu;
explicit movable_int(int v) : valu{v} {}
movable_int(movable_int &&other) noexcept : valu(other.valu) { other.valu = 91; }
explicit indestructible_int(int v) : valu{v} {}
REQUIRE(hld.as_raw_ptr_unowned<zombie>()->valu == 19);
REQUIRE(othr.valu == 19);
REQUIRE(orig.valu == 91);
@pytest.mark.parametrize("access", ["ro", "rw", "static_ro", "static_rw"])
struct IntStruct {
explicit IntStruct(int v) : value(v){};
Expand Down

0 comments on commit 9e3cdf7

Please sign in to comment.