shoo / cushion

A library to help state transition matrix disign
Boost Software License 1.0
6 stars 0 forks source link

Too many template parameters #10

Closed shoo closed 5 years ago

shoo commented 5 years ago

StateTransitor provides flexibility by switching among State, Event, Handler types, container types and behaviors with template parameters. However, there are too many parameters, even if you want to change the behavior a little, it is necessary to specify many parameters. We need a way to easily specify the parameters. Like named parameters.


StateTransitor は多くのテンプレートパラメータによって、State, Event, ハンドラ、コンテナ、挙動などを切り替えることで柔軟性を持たせています。 しかし、パラメータが多すぎて、少しだけの挙動変更であっても、多くのパラメータ指定が必要な場合があります。 名前付きパラメータのように、簡単にパラメータを指定する方法を提供する必要があります。