Skip to content

Commit bbf0be5

Browse files
committed
Added case of passing entire union
1 parent f4d4a01 commit bbf0be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/union_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//
3030
// U.A = xxx (alt A is assigned to) on_set_alternative(&U,#A)
3131
//
32-
// U.A is passed to a function by on_set_alternative(&U,unknown)
32+
// U or U.A is passed to a function by on_set_alternative(&U,unknown)
3333
// pointer/reference to non-const
3434
//
3535
// U.A (alt A is otherwise used) on_get_alternative(&U,#A)

0 commit comments

Comments
 (0)