Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/iceberg/row/struct_like.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ class ICEBERG_EXPORT StructLikeAccessor {
std::span<const size_t> position_path,
std::vector<bool> is_optional);

// Deep-path accessors capture this, so the object must keep a stable address.
StructLikeAccessor(const StructLikeAccessor&) = delete;
StructLikeAccessor& operator=(const StructLikeAccessor&) = delete;
StructLikeAccessor(StructLikeAccessor&&) = delete;
StructLikeAccessor& operator=(StructLikeAccessor&&) = delete;

/// \brief Get the scalar value at the given position.
/// A null optional parent returns monostate; a null required field is an error.
Result<Scalar> Get(const StructLike& struct_like) const {
Expand Down
Loading