//--------------------------------------------------------------------------------
typedef WidgetManager<BoxWidget,OpNewCreateor,ContainerVec> BoxWidgetManager;
typedef WidgetManager<SliderWidget,OpNewCreateor,ContainerList> SliderWidgetManager;
//--------------------------------------------------------------------------------
int main()
{
BoxWidgetManager boxWidgetManager;
BoxWidget * boxWidget = boxWidgetManager.create();
cout << typeid(BoxWidgetManager).name() << endl;
system( "pause");
}