Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1EF7200BD0 for ; Tue, 15 Nov 2016 22:40:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F0B6A160AF2; Tue, 15 Nov 2016 21:40:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E79F160B03 for ; Tue, 15 Nov 2016 22:40:59 +0100 (CET) Received: (qmail 15354 invoked by uid 500); 15 Nov 2016 21:40:58 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 15295 invoked by uid 99); 15 Nov 2016 21:40:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 21:40:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 641C12C0059 for ; Tue, 15 Nov 2016 21:40:58 +0000 (UTC) Date: Tue, 15 Nov 2016 21:40:58 +0000 (UTC) From: "Uwe L. Korn (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARROW-231) C++: Add typed Resize to PoolBuffer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 21:41:00 -0000 [ https://issues.apache.org/jira/browse/ARROW-231?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe L. Korn updated ARROW-231: ------------------------------ Description: Instead of writing {{Resize(sizeof(T) * size)}}, it would = be nice to have a function {{Resize(size)}}=C2=A0that resizes the array = so it can take size elements of T. Probably we should call it differently t= han the non-typed version so they can be clearly differentiated. (was: Wil= l be simply a more clear form to write {{Resize(sizeof(T) * size)}}) > C++: Add typed Resize to PoolBuffer > ----------------------------------- > > Key: ARROW-231 > URL: https://issues.apache.org/jira/browse/ARROW-231 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ > Reporter: Uwe L. Korn > Labels: newbie > > Instead of writing {{Resize(sizeof(T) * size)}}, it would be nice to have= a function {{Resize(size)}}=C2=A0that resizes the array so it can take = size elements of T. Probably we should call it differently than the non-typ= ed version so they can be clearly differentiated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)