|
Boost Users : |
Subject: Re: [Boost-users] Choosing a variable size
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-04-12 16:11:50
On 12 April 2010 16:07, John Dlugosz <JDlugosz_at_[hidden]> wrote:
> Given a template function that has two incoming integral types to work with, I want to declare some variables for intermediate use. Â How do I easily make a typedef for the larger of the two?
>
It's indirect, but if you find the size of the larger, Boost.Integer
will give you an integer of that size.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net