Files
verilator/src
Geza Lore 566f4e6efc Internals: Add new VL_RESTORER flavours (#7866)
Restrict VL_RESTORER to be usable only with trivially copyable types.
Introduce VL_RESTORER_COPY and VL_RESTORER_CLEAR, which are more
efficient versions usable for non trivially copyable types.

VL_RESTORER_COPY semantically behaves the same as VL_RESTORER, but only
does one copy at initialization, and on scope exit restores via a move.

VL_RESTORER_CLEAR swaps the variable with an new one constructed via
the no-args constructor (e.g. empty collection), which does not require
any copying at any point.

Static assertions enforce picking one of the new flavours when copying
might be expensive.
2026-07-04 17:27:07 +01:00
..
2026-06-15 17:44:50 -04:00
2026-06-10 16:19:51 +00:00
2026-03-24 18:33:07 +00:00
2026-06-22 16:47:50 +00:00
2026-03-04 20:12:10 -05:00
2026-02-23 03:34:37 -05:00
2026-03-11 19:53:23 -04:00
2026-03-11 19:53:23 -04:00
2026-03-10 08:55:51 -04:00
2026-06-08 15:16:30 -07:00
2026-06-08 15:16:30 -07:00
2026-03-11 19:53:23 -04:00
2026-05-30 19:36:22 +00:00
2026-06-03 19:50:56 -04:00