Skip to content

Commit 0c0b92d

Browse files
authored
readme operator[] typo (#2)
1 parent 25a84f6 commit 0c0b92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ A simple c++17 header only library that implements structure of arrays data stru
33
These are the most useful operations.
44
- `.insert(field1, field2, ...)` field_n inserts into the nth array
55
- `.sort_by_field<col_idx>()` sort all columns in tandem based on particular column
6-
- `.operator()[row_idx]` read data out as tuple of references
6+
- `.operator[](row_idx)` read data out as tuple of references
77
- `.get_column<col_idx>()` direct access to underlying std::vector column
88
- `.view<col_idx1, col_idx2, ...>(row_idx)` read subset of the fields out as a tuple of references
99

0 commit comments

Comments
 (0)