diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-07 16:22:23 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-07 16:22:23 -0800 |
commit | c0f84b1ffa18eaf6f399aafe462f2a0f705dd009 (patch) | |
tree | e0a12f7c765816f2db72e7d57eac5a43ed0db139 /html/002test.cc.html | |
parent | c082c2f268e7ad483fe1192251cd4a0bc635748f (diff) | |
download | mu-c0f84b1ffa18eaf6f399aafe462f2a0f705dd009.tar.gz |
4155
Diffstat (limited to 'html/002test.cc.html')
-rw-r--r-- | html/002test.cc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/002test.cc.html b/html/002test.cc.html index 311dbfdc..db483fc5 100644 --- a/html/002test.cc.html +++ b/html/002test.cc.html @@ -151,7 +151,7 @@ if ('onhashchange' in window) { <span id="L89" class="LineNr"> 89 </span><span class="Delimiter">}</span> <span id="L90" class="LineNr"> 90 </span> <span id="L91" class="LineNr"> 91 </span><span class="Normal">int</span> <a href='002test.cc.html#L91'>to_integer</a><span class="Delimiter">(</span>string n<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L92" class="LineNr"> 92 </span> <span class="Normal">char</span>* <a href='003trace.cc.html#L197'>end</a> = <span class="Constant">NULL</span><span class="Delimiter">;</span> +<span id="L92" class="LineNr"> 92 </span> <span class="Normal">char</span>* <a href='003trace.cc.html#L203'>end</a> = <span class="Constant">NULL</span><span class="Delimiter">;</span> <span id="L93" class="LineNr"> 93 </span> <span class="Comment">// safe because string.c_str() is guaranteed to be null-terminated</span> <span id="L94" class="LineNr"> 94 </span> <span class="Normal">int</span> result = strtoll<span class="Delimiter">(</span>n<span class="Delimiter">.</span>c_str<span class="Delimiter">(),</span> &end<span class="Delimiter">,</span> <span class="Comment">/*</span><span class="Comment">any base</span><span class="Comment">*/</span><span class="Constant">0</span><span class="Delimiter">);</span> <span id="L95" class="LineNr"> 95 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>*end != <span class="cSpecial">'\0'</span><span class="Delimiter">)</span> cerr << <span class="Constant">"tried to convert "</span> << n << <span class="Constant">" to number</span><span class="cSpecial">\n</span><span class="Constant">"</span><span class="Delimiter">;</span> |