From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 14:27:43 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B5B116A501 for ; Wed, 2 Feb 2005 14:27:43 +0000 (GMT) Received: from xenial.mcc.ac.uk (xenial.mcc.ac.uk [130.88.203.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDA143D4C for ; Wed, 2 Feb 2005 14:27:40 +0000 (GMT) (envelope-from jcm@FreeBSD-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by xenial.mcc.ac.uk with esmtp (Exim 4.43 (FreeBSD)) id 1CwLTn-0000eQ-R4 for freebsd-questions@freebsd.org; Wed, 02 Feb 2005 14:27:39 +0000 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) j12ERdRu024422 for ; Wed, 2 Feb 2005 14:27:39 GMT (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.13.1/8.12.6/Submit) id j12ERcEP024421 for freebsd-questions@freebsd.org; Wed, 2 Feb 2005 14:27:38 GMT Date: Wed, 2 Feb 2005 14:27:38 +0000 From: Jonathon McKitrick To: freebsd-questions@freebsd.org Message-ID: <20050202142738.GA23548@dogma.freebsd-uk.eu.org> References: <20050201164337.GA78979@dogma.freebsd-uk.eu.org> <20050202140420.GC24058@rtl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050202140420.GC24058@rtl.org> User-Agent: Mutt/1.4i Subject: Re: Unix equivalent of a variant?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 14:27:43 -0000 On Wed, Feb 02, 2005 at 09:04:20AM -0500, Jason Stewart wrote: : > Hey everyone, : > : > I'm finally doing something very exciting here at work: porting software to : > Unix! : > : > I need the equivalent of a variant, however. A hold-everything variable : > that can be any type in C/C++. Is there something already out there I can : > use or should I just roll my own? : > : : Are you porting VB code over to *nix? If that's the case then a better : fit might be Python or Ruby with or without one of the various : bindings for windowing toolkits. I think I'm going to use Python as the test container, but all the component code needs to be C/C++. I think the boost library is exactly what I need. jm --