c++ Programming Glossary: ta
How to implement a factory with multiple switches? http://stackoverflow.com/questions/12566271/how-to-implement-a-factory-with-multiple-switches and my factory is like this MyInterface factory char ta char tb if ta 'c' tb 'c' return new MyImpl char char if ta.. is like this MyInterface factory char ta char tb if ta 'c' tb 'c' return new MyImpl char char if ta 'c' tb 's' return.. char tb if ta 'c' tb 'c' return new MyImpl char char if ta 'c' tb 's' return new MyImpl char short if ta 's' tb 'c' ..
|