1 #ifndef  color_generic_make_yellow
2 #define color_generic_make_yellow
3 
4 // ::color::make::yellow( c )
5 
6 // TODO #include "model.hpp"
7 #include "../constant/yellow.hpp"
8 
9 
10  namespace color
11   {
12    namespace constant
13     {
14 
15      template< typename category_name >
16       struct make< ::color::constant::yellow_t, category_name >
17        {
18         typedef category_name                         category_type;
19 
20         typedef ::color::model<category_type>            model_type;
21         typedef ::color::rgb<double>                       rgb_type;
22         typedef ::color::constant::yellow_t      constant_type;
23 
24         typedef typename ::color::trait::container<category_type>::output_type       container_output_type;
25 
26 
processcolor::constant::make27         inline static void process( container_output_type & container )
28          {
29           static model_type  s_model{ rgb_type{ 1, 1, 0 } };
30           container = s_model.container();
31          }
32        };
33 
34     }
35   }
36 
37 #endif
38