[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6253] Implicitly define, and use, yare_input copy ctor
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6253] Implicitly define, and use, yare_input copy ctor |
Date: |
Thu, 13 Aug 2015 23:57:46 +0000 |
Revision: 6253
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6253
Author: chicares
Date: 2015-08-13 23:57:45 +0000 (Thu, 13 Aug 2015)
Log Message:
-----------
Implicitly define, and use, yare_input copy ctor
Modified Paths:
--------------
lmi/trunk/ihs_acctval.cpp
lmi/trunk/yare_input.hpp
Modified: lmi/trunk/ihs_acctval.cpp
===================================================================
--- lmi/trunk/ihs_acctval.cpp 2015-08-13 23:48:30 UTC (rev 6252)
+++ lmi/trunk/ihs_acctval.cpp 2015-08-13 23:57:45 UTC (rev 6253)
@@ -196,7 +196,7 @@
for profit testing we want to avoid their overhead
for solves we want only one run
if solving on guar basis...does *that* basis determine pmts & specamt?
- it prolly should, so that the guar columns will show what's wanted
+ it probably should, so that the guar columns will show what's wanted
otherwise the solve lacks meaning
although I wonder how other illustration systems handle this
it should also be possible to solve on a midpt basis as well
@@ -1092,8 +1092,7 @@
,bool with_wp
) const
{
- LMI_ASSERT(0 != Input_);
- yare_input yi(*Input_);
+ yare_input yi(yare_input_);
yi.AccidentalDeathBenefit = with_adb;
yi.WaiverOfPremiumBenefit = with_wp;
Modified: lmi/trunk/yare_input.hpp
===================================================================
--- lmi/trunk/yare_input.hpp 2015-08-13 23:48:30 UTC (rev 6252)
+++ lmi/trunk/yare_input.hpp 2015-08-13 23:57:45 UTC (rev 6253)
@@ -29,7 +29,6 @@
#include "calendar_date.hpp"
#include "mc_enum_type_enums.hpp"
#include "obstruct_slicing.hpp"
-#include "uncopyable_lmi.hpp"
#include <string>
#include <vector>
@@ -55,8 +54,7 @@
/// (mc_enum and tn_range classes) designed for interactive input.
class yare_input
- : private lmi::uncopyable <yare_input>
- ,virtual private obstruct_slicing<yare_input>
+ :virtual private obstruct_slicing<yare_input>
{
public:
explicit yare_input(Input const&);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6253] Implicitly define, and use, yare_input copy ctor,
Greg Chicares <=