~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/constrained_value.h

  • Committer: Monty Taylor
  • Date: 2010-11-09 21:48:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1923.
  • Revision ID: mordred@inaugust.com-20101109214809-qyrl0bsunkr57tmg
Reverted a debugging change that snuck in.
Added a file to POTFILES.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
class constrained_value
38
38
{
39
39
  T m_val;
40
 
 
41
 
public:
 
40
protected:
42
41
 
43
42
  virtual constrained_value<T>& set_value(const constrained_value<T>& rhs)= 0;
44
43
  virtual constrained_value<T>& set_value(T rhs)= 0;
45
44
 
 
45
public:
46
46
  explicit constrained_value<T>(T in_value= 0) :
47
47
    m_val(in_value)
48
48
  { }
104
104
    constrained_value<T>(in_value)
105
105
  { }
106
106
 
 
107
protected:
107
108
  constrained_value<T>& set_value(const constrained_value<T>& rhs)
108
109
  {
109
110
    return set_value(rhs.getVal());