Context.addSubContext

Adds new context to key's section. This method overwrites with list type if you already assigned other type to key's section.

class Context
@trusted
addSubContext
(
in String key
,
lazy size_t size = 1
)

Parameters

key String

key string to add

size size_t

reserve size for avoiding reallocation

Return Value

Type: Context

new Context object that added to key section list.

Meta